Unity-Snippets
Unity-Snippets copied to clipboard
A collection of code snippets I found useful while coding in Unity.
Unity Snippets
A collection of code snippets I found useful while coding in Unity.
-
Animation
- AnimationCurve
- Audio
-
Classes
- GridManager
- SimpleGameObject
-
Collections
- Lists
-
Components
- HingeJoint
- LineRenderer
-
Controllers
- CustomTrackableEventHandler
- EnemyController (Sidescroller)
- FadeScreen
- PlayerController (Platformer w/ no Physics)
- PlayerController (Platformer)
- PlayerController (Sidescroller)
-
Editor
- Button
- ContextMenu
- File Dialog
-
Debug
- Gizmos
- GUI
- Log
-
Deploy
- Fire-TV
-
FileSystem
- CSV
- File
- JSON
-
GameObjects
- Movement
- Renderer
- Rigidbody
-
General
- Delay
- Inspector
- PlayerPrefs
- Invoke
- Scenes
- Singleton
- StartCoroutine
- TimeScale
- yield
-
GeometryUtility
- CalculateFrustumPlanes
-
Interaction
- Click
- Dragging
- RotateCamera
-
Variables
- Date
- Struct