Property | Type | Description | |
---|---|---|---|
destroyshot | bool | ||
isEnemy | bool | ||
lad1 | string | ||
lad2 | string | ||
lad3 | string | ||
lad4 | string | ||
lad5 | string | ||
numLadders | int |
Method | Description | |
---|---|---|
Damage ( ) : void |
Enemy or player? Inflicts damage and check if the object should be destroyed
|
|
Disable ( GameObject obj ) : void | ||
Enable ( GameObject obj ) : void | ||
OnTriggerEnter2D ( |
||
Start ( ) : void | ||
Toggle ( GameObject obj ) : void | ||
flipDirection ( GameObject obj ) : void |
public OnTriggerEnter2D ( |
||
otherCollider | ||
return | void |
public flipDirection ( GameObject obj ) : void | ||
obj | GameObject | |
return | void |