Property | Type | Description | |
---|---|---|---|
gameObject | |||
transform |
Method | Description | |
---|---|---|
Awake ( |
子类必须重载并调用基类
|
|
FixedUpdate ( ) : void | ||
LateUpdate ( ) : void | ||
OnCollisionEnter ( UnityEngine collider ) : void | ||
OnCollisionEnter2D ( UnityEngine collider ) : void | ||
OnCollisionExit ( UnityEngine collider ) : void | ||
OnCollisionExit2D ( UnityEngine collider ) : void | ||
OnCollisionStay ( UnityEngine collider ) : void | ||
OnCollisionStay2D ( UnityEngine collider ) : void | ||
OnDestroy ( ) : void | ||
OnTriggerEnter ( UnityEngine collider ) : void | ||
OnTriggerEnter2D ( UnityEngine collider ) : void | ||
OnTriggerExit ( UnityEngine collider ) : void | ||
OnTriggerExit2D ( UnityEngine collider ) : void | ||
OnTriggerStay ( UnityEngine collider ) : void | ||
OnTriggerStay2D ( UnityEngine collider ) : void | ||
Start ( ) : void |
子类选择性重载
|
|
Update ( ) : void |
protected Awake ( |
||
rGo | ||
return | void |
protected OnCollisionEnter ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnCollisionEnter2D ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnCollisionExit ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnCollisionExit2D ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnCollisionStay ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnCollisionStay2D ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnTriggerEnter ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnTriggerEnter2D ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnTriggerExit ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnTriggerExit2D ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnTriggerStay ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected OnTriggerStay2D ( UnityEngine collider ) : void | ||
collider | UnityEngine | |
return | void |
protected GameObject,UnityEngine gameObject | ||
return |