프로퍼티 | 타입 | 설명 | |
---|---|---|---|
onDestroy | System.Action | ||
onImpact | System.Action |
메소드 | 설명 | |
---|---|---|
Awake ( ) : void |
When Object is Awake, it will be automatically disabled When Fired the projectile, will be cloned and enabled
|
|
Destroy ( ) : void |
Destroy Projectile waiting destroyDelay if needed
|
|
Fire ( Vector3 position ) : |
Clone the projectile, activate, add it to UpdateManager and return :)
|
|
LatePlatformerUpdate ( float delta ) : void |
Do nothing use PlatformerUpdate instead
|
|
OnTriggerEnter2D ( |
When collide with something, check the mask, then check if it's damageable, and Destroy
|
|
PlatformerUpdate ( float delta ) : void |
Move projectile accordingly
|
메소드 | 설명 | |
---|---|---|
_Destroy ( ) : void |
Real destroy method
|
public LatePlatformerUpdate ( float delta ) : void | ||
delta | float | |
리턴 | void |
public OnTriggerEnter2D ( |
||
o | ||
리턴 | void |