-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathunityMessages.json
More file actions
88 lines (88 loc) · 7.11 KB
/
unityMessages.json
File metadata and controls
88 lines (88 loc) · 7.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"methodPatterns": [
{
"pattern": "\\bvoid\\s+Awake\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nUnity calls Awake when an enabled script instance is being loaded.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.Awake.html)"
},
{
"pattern": "\\b(?:void|IEnumerator)\\s+Start\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nStart is called on the frame when a script is enabled just before any of the Update methods are called the first time.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.Start.html)"
},
{
"pattern": "\\bvoid\\s+Update\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nUpdate is called every frame, if the MonoBehaviour is enabled.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.Update.html)"
},
{
"pattern": "\\bvoid\\s+FixedUpdate\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nFrame-rate independent MonoBehaviour.FixedUpdate message for physics calculations.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.FixedUpdate.html)"
},
{
"pattern": "\\bvoid\\s+LateUpdate\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nLateUpdate is called every frame, if the Behaviour is enabled.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.LateUpdate.html)"
},
{
"pattern": "\\bvoid\\s+OnGUI\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nOnGUI is called for rendering and handling GUI events.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.OnGUI.html)"
},
{
"pattern": "\\bvoid\\s+OnEnable\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nThis function is called when the object becomes enabled and active.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.OnEnable.html)"
},
{
"pattern": "\\bvoid\\s+OnDisable\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nThis function is called when the behaviour becomes disabled.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.OnDisable.html)"
},
{
"pattern": "\\bvoid\\s+OnDestroy\\s*\\(\\s*\\)\\s*$",
"documentation": "## Summary\n\nDestroying the attached Behaviour will result in the game or Scene receiving OnDestroy.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.OnEnable.html)"
},
{
"pattern": "\\bvoid\\s+OnTriggerEnter\\s*\\(\\s*Collider\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nCalled when a Collider with the Collider.isTrigger property overlaps another Collider.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider.OnTriggerEnter.html)"
},
{
"pattern": "\\bvoid\\s+OnTriggerExit\\s*\\(\\s*Collider\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nOnTriggerExit is called when the Collider other has stopped touching the trigger.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider.OnTriggerExit.html)"
},
{
"pattern": "\\bvoid\\s+OnTriggerStay\\s*\\(\\s*Collider\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nOnTriggerStay is called almost all the frames for every Collider other that is touching the trigger.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider.OnTriggerStay.html)"
},
{
"pattern": "\\bvoid\\s+OnCollisionEnter\\s*\\(\\s*Collision\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nOnCollisionEnter is called when this collider/rigidbody has begun touching another rigidbody/collider.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider.OnCollisionEnter.html)"
},
{
"pattern": "\\bvoid\\s+OnCollisionExit\\s*\\(\\s*Collision\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nOnCollisionExit is called when this collider/rigidbody has stopped touching another rigidbody/collider.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider.OnCollisionExit.html)"
},
{
"pattern": "\\bvoid\\s+OnCollisionStay\\s*\\(\\s*Collision\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nOnCollisionStay is called once per frame for every Collider or Rigidbody that touches another Collider or Rigidbody.\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider.OnCollisionStay.html)"
},
{
"pattern": "\\bvoid\\s+OnTriggerEnter2D\\s*\\(\\s*Collider2D\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nSent when another object enters a trigger collider attached to this object (2D physics only).\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider2D.OnTriggerEnter2D.html)"
},
{
"pattern": "\\bvoid\\s+OnTriggerExit2D\\s*\\(\\s*Collider2D\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nSent when another object leaves a trigger collider attached to this object (2D physics only).\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider2D.OnTriggerExit2D.html)"
},
{
"pattern": "\\bvoid\\s+OnTriggerStay2D\\s*\\(\\s*Collider2D\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nSent each frame where another object is within a trigger collider attached to this object (2D physics only).\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider2D.OnTriggerStay2D.html)"
},
{
"pattern": "\\bvoid\\s+OnCollisionEnter2D\\s*\\(\\s*Collision2D\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nSent when an incoming collider makes contact with this object's collider (2D physics only).\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider2D.OnCollisionEnter2D.html)"
},
{
"pattern": "\\bvoid\\s+OnCollisionExit2D\\s*\\(\\s*Collision2D\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nSent when a collider on another object stops touching this object's collider (2D physics only).\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider2D.OnCollisionExit2D.html)"
},
{
"pattern": "\\bvoid\\s+OnCollisionStay2D\\s*\\(\\s*Collision2D\\s+\\w+\\s*\\)\\s*$",
"documentation": "## Summary\n\nSent each frame where a collider on another object is touching this object's collider (2D physics only).\n\n[Learn More](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Collider2D.OnCollisionStay2D.html)"
}
]
}