Property | Type | Description | |
---|---|---|---|
damage | float | ||
enemyShotVelocityX | float | ||
enemyShotVelocityY | float | ||
lifeDuration | float | ||
radius | float | ||
rb | |||
shootingRight | bool | ||
theCharacterMotor | CharacterMotor2, |
Method | Description | |
---|---|---|
Destroybullet ( ) : IEnumerator | ||
OnCollisionEnter ( Collision collider ) : void | ||
OnTriggerEnter ( Collider collider ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public OnCollisionEnter ( Collision collider ) : void | ||
collider | Collision | |
return | void |
public OnTriggerEnter ( Collider collider ) : void | ||
collider | Collider | |
return | void |