Property | Type | Description | |
---|---|---|---|
isEnemy | bool | ||
mode | int | ||
numModes | int |
Method | Description | |
---|---|---|
Damage ( ) : void |
Inflicts damage and check if the object should be destroyed
|
|
Disable ( GameObject obj ) : void | ||
Enable ( GameObject obj ) : void | ||
OnTriggerEnter2D ( |
||
Start ( ) : void |
public OnTriggerEnter2D ( |
||
otherCollider | ||
return | void |