Free Unity scripts you can inspect before you download.
55 C# scripts and 13 game-system kits, MIT licensed, no signup. Every script shows the Inspector fields it adds, read straight from its source.
DayNightCycle.cs
C# Script ·2.6 KB ·Unity 2022.3+
Fields, defaults and ranges are parsed live from each script's source.
Browse by category
Every script lives in one folder. Open a folder for its scripts, what they need, and the kits built on them.
- Touch & Mobile 12 SwipeInputController.csTapInputHandler.csTouchJoystick.cs
- Movement 11 PlayerController2D.csPlayerController3D.csCameraFollow2D.cs
- Utilities 11 Singleton.csObjectPool.csSceneLoader.cs
- UI 6 HealthBarUI.csScreenFader.csDamagePopup.cs
- AI & Pathfinding 5 EnemyChaseAI.csWaypointPatrol.csNavMeshClickToMove.cs
- Health & Combat 4 HealthSystem.csWeaponSystem.csProjectile.cs
- Inventory 2 SimpleInventory.csCollectible.cs
- Save & Load 2 JsonSaveUtility.csSaveHelper.cs
- Audio 1 AudioManager.cs
- Dialogue 1 DialogueTrigger.cs
Shaders, running live
Single-file URP shaders for Unity 6. Each material below is its shader running in your browser; open one to tune it in an Inspector before you download it.
- Toon & Stylized Live in your browser Featured shader Toon Lit Characters, props and environments in a cartoon, anime or low-poly look, where light should read as clear bands rather than smooth gradients. tooncel shadingoutlineanime Tune it in the Inspector
- Environment Stylized Water StylizedWater.shader
- Full-screen effects Edge Outline Full-Screen EdgeOutline.shader
- Effects Dissolve Dissolve.shader
- Effects Outline Highlight OutlineHighlight.shader
Moving a project to Unity 6?
Unity 6.0 LTS support ends on 16 Oct 2026. Paste a script into the upgrade checker and see every API Unity 6.0 to 6.6 made obsolete, removed or changed, with the fix for the version you are moving to. 17 changes covered, each linked to Unity's own documentation.
Browse the library
Single scripts you drop onto a GameObject, kits that bundle several into a working system, and shaders for URP.
- 2D Player Controller
Complete 2D character controller with smooth movement, variable-height jumping, and coyote time.
- Smooth Camera Follow 2D
Smooth camera follow with offset, dead zone, and look-ahead for 2D games.
- 3D Player Controller
First/third person character controller with smooth movement, jumping, and slope handling using CharacterController.
- Health System
Reusable health component with damage, healing, invincibility frames, and events.
- Generic Singleton
Thread-safe, persistent singleton base class for managers like AudioManager, GameManager, etc.
- Audio Manager
Complete audio manager with music crossfade, SFX pooling, volume control, and persistence.
- Object Pool
Generic object pooling system to reduce garbage collection. Perfect for bullets, particles, and enemies.
- Screen Fader
Simple screen fade-in/fade-out with configurable color and duration. Great for scene transitions.
Editor tools by the maker of this site
Two paid Unity Editor extensions, sold on the Unity Asset Store. Everything else on Scripts For Unity stays free.
-
Paid · Unity Asset Store · Unity 2022.3+
FullView - Fullscreen Scene & Game View
Press a key and any Editor window goes truly fullscreen: no title bar, no taskbar, no flicker. Put the Game View and Scene View on separate monitors and press Escape to exit them all.
- F7 fullscreens the focused window
- Game and Scene View on separate monitors
- Windows, macOS and Linux
-
Paid · Unity Asset Store · Unity 6.3+
Easy Capture - Screenshot & Game Recording
Screenshots, MP4 or WebM video and GIFs from the Scene or Game View without leaving Unity, with size presets for Steam, the app stores and social media. Editor only, so nothing ships in your build.
- Screenshots up to 8× resolution
- MP4, WebM and GIF recording
- Steam, store and social presets
Recently added
Every script, kit and post, dated, newest first.
Guides
The reading behind the files.
- Unity error lookuppaste & fix Paste a Console error and get its causes and the fix in code.
- Learn Unity15 topics How Unity actually works, one idea at a time.
- AI and CLI15 chapters Connect an AI agent to the Unity Editor, with every setup tested and dated.
- Migrate from Unreal4 chapters Coming from Unreal? Map what you already know onto Unity.
- Blog22 posts Long-form builds: platformers, RPG stacks, mobile controls.
- Playgroundin browser A C# editor with starter templates, no install.

