Create Unity classes and methods easily. Forked from Kleber Silva.
Changed bracket positions from this:
public class Foo {
}
to this:
public class Foo
{
}
Start typing the names to create the corresponding snippets.
-
Game classes:
MonoBehaviour
StateMachineBehaviour
NetworkBehaviour
ScriptableObject
-
Editor Classes:
Editor
Editor with Reorderable List
(NEW)EditorWindow
PropertyDrawer
ScriptableWizard
-
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()
OnGUI()
OnJointBreak()
OnJointBreak2D()
OnMasterServerEvent()
OnMouseDown()
OnMouseDrag()
OnMouseEnter()
OnMouseExit()
OnMouseOver()
OnMouseUp()
OnMouseUpAsButton()
OnNetworkInstantiate()
OnParticleCollision()
OnParticleTrigger()
OnPlayerConnected()
OnPlayerDisconnected()
OnPostRender()
OnPreCull()
OnPreRender()
OnRenderImage()
OnRenderObject()
OnSerializeNetworkView()
OnServerInitialized()
OnTransformChildrenChanged()
OnTransformParentChanged()
OnTriggerEnter()
OnTriggerEnter2D()
OnTriggerExit()
OnTriggerExit2D()
OnTriggerStay()
OnTriggerStay2D()
OnValidate()
OnWillRenderObject()
Reset()
Start()
Update()
-
Some useful code snippets:
Debug.Log()
(typelog
)Debug.LogError()
(typelogerror
)Debug.LogWarning()
(typelogwarning
)Debug.LogException()
(typelogexception
)