Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Easy Unity SnippetsNew to Visual Studio Code? Get it now.
Easy Unity Snippets

Easy Unity Snippets

Maldron

|
709 installs
| (0) | Free
Improved Unity Code Autocomplete extension.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Easy Code Snippets

Unity makes it easy to create classes and methods

Visual Studio Marketplace Installs Visual Studio Marketplace Rating (Stars) Visual Studio Marketplace Version

Features

0.0.3: Unity Classes, Methods Autocomplete

snippets

  • Classes:

    • Game Classes:
      • MonoBehaviour
      • StateMachineBehaviour
      • NetworkBehaviour
      • ScriptableObject
    • Editor Classes:
      • Editor
      • EditorWithReorderableList
      • EditorWindow
      • PropertyDrawer
      • ScriptableWizard
    • Standard Classes:
      • class
      • interface
  • MonoBehaviour Methods:

    • Awake()
    • FixedUpdate()
    • LateUpdate()
    • OnAnimatorIK()
    • OnAnimatorMove()
    • OnApplicationFocus()
    • OnApplicationPause()
    • OnApplicationQuit()
    • OnAudioFilterRead()
    • OnBecameInvisible()
    • OnBecameVisible()
    • OnCollisionEnter()
    • OnCollisionEnter2D()
    • OnCollisionExit()
    • OnCollisionExit2D()
    • OnCollisionStay()
    • OnCollisionStay2D()
    • OnConnectedToServer()
    • OnControllerColliderHit()
    • OnDestroy()
    • OnDisable()
    • OnDisconnectedFromServer()
    • OnDrawGizmos()
    • OnDrawGizmosSelected()
    • OnEnable()
    • OnFailedToConnect()
    • OnFailedToConnectToMasterServer()
    • OnFocus()
    • OnGUI()
    • OnHierarchyChange()
    • OnInspectorUpdate()
    • OnJointBreak()
    • OnJointBreak2D()
    • OnLostFocus()
    • OnMasterServerEvent()
    • OnMouseDown()
    • OnMouseDrag()
    • OnMouseEnter()
    • OnMouseExit()
    • OnMouseOver()
    • OnMouseUp()
    • OnMouseUpAsButton()
    • OnNetworkInstantiate()
    • OnParticleCollision()
    • OnParticleSystemStopped()
    • OnParticleTrigger()
    • OnPlayerConnected()
    • OnPlayerDisconnected()
    • OnPostRender()
    • OnPreCull()
    • OnPreRender()
    • OnProjectChange()
    • OnRenderImage()
    • OnRenderObject()
    • OnSceneGUI()
    • OnSelectionChange()
    • OnSerializeNetworkView()
    • OnServerInitialized()
    • OnStateEnter()
    • OnStateExit()
    • OnStateIK()
    • OnStateMove()
    • OnStateUpdate()
    • OnTransformChildrenChanged()
    • OnTransformParentChanged()
    • OnTriggerEnter()
    • OnTriggerEnter2D()
    • OnTriggerExit()
    • OnTriggerExit2D()
    • OnTriggerStay()
    • OnTriggerStay2D()
    • OnValidate()
    • OnWillRenderObject()
    • OnWizardCreate()
    • OnWizardOtherButton()
    • OnWizardUpdate()
    • Reset()
    • Start()
    • Update()
  • Calls:

    • Debug.Log() (type log)
    • Debug.LogError() (type logerror)
    • Debug.LogException() (type logexception)
    • Debug.LogWarning() (type logwarning)
    • Debug.LogFormat() (type logformat)
    • Debug.LogErrorFormat() (type logerrorformat)
    • Debug.LogWarningFormat() (type logwarningformat)
    • Debug.DrawLine() (type drawline)
    • Debug.DrawRay() (type drawray)
  • Attributes:

    • [SerializeField] (type sfield)
    • [RequireComponent]
  • Experimental snippets:

    • [AddComponentMenu]
    • [AssemblyIsEditorAssembly]
    • [BeforeRenderOrder]
    • [CanEditMultipleObjects]
    • [ColorUsage]
    • [ContextMenu]
    • [ContextMenuItem]
    • [CreateAssetMenu]
    • [CustomEditor]
    • [CustomEditorForRenderPipeline]
    • [CustomGridBrush]
    • [CustomPreview]
    • [CustomPropertyDrawer]
    • [Delayed]
    • [DisallowMultipleComponent]
    • [DrawGizmo]
    • [EditorWindowTitle]
    • [ExcludeFromObjectFactory]
    • [ExcludeFromPreset]
    • [ExecuteAlways]
    • [ExecuteInEditMode]
    • [FilePath]
    • [GradientUsage]
    • [GUITarget]
    • [Header]
    • [HelpURL]
    • [HideInCallstack]
    • [HideInInspector]
    • [Icon]
    • [ImageEffectAfterScale]
    • [ImageEffectAllowedInSceneView]
    • [ImageEffectOpaque]
    • [ImageEffectTransformsToLDR]
    • [ImageEffectUsesCommandBuffer]
    • [InitializeOnEnterPlayMode]
    • [InitializeOnLoad]
    • [InitializeOnLoadMethod]
    • [InspectorName]
    • [InspectorOrder]
    • [LightingExplorerExtension]
    • [Localization]
    • [MenuItem]
    • [Min]
    • [Multiline]
    • [NonReorderable]
    • [PreferBinarySerialization]
    • [Range]
    • [RuntimeInitializeOnLoadMethod]
    • [SelectionBase]
    • [SerializeReference]
    • [SettingsProvider]
    • [SettingsProviderGroup]
    • [SharedBetweenAnimators]
    • [Space]
    • [TextArea]
    • [Tooltip]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft