GameObject
常用变量
activeInHierarchy
activeSelf
isStatic
layer
scene
tag
transform
静态查找方法
CreatePrimitive
Find
FindGameObjectsWithTag
FindWithTag
游戏物体查找
Game.Find
FindObjectsOfType
FindWithTag
transform.Find
MonoBehavior
继承成员
isActiveAndEnabled
enabled
gameObject
tag
transform
hideFlags
name
Invoke相关函数
CancelInvoke
Invoke
InvokeRepeating
IsInvoking
协程方法
不会阻塞当前方法的进行
自身可以暂停
- 返回值是IEnumerator
- 返回参数的时候使用yield return
- 协程方法的调用StartCoroutine(method())
Coroutine协程的开启和关闭
StartCoroutine
StopAllCoroutines
StopCoroutine
鼠标相关事件函数
OnMouseDown
OnMouseDrag
OnMouseEnter
OnMouseExit
OnMouseOver
OnMouseUp
OnMouseUpAsButton