Свойство | Type | Description | |
---|---|---|---|
destroyshot | bool | ||
isEnemy | bool | ||
lad1 | string | ||
lad2 | string | ||
lad3 | string | ||
lad4 | string | ||
lad5 | string | ||
numLadders | int |
Méthode | 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 | ||
Résultat | void |
public flipDirection ( GameObject obj ) : void | ||
obj | GameObject | |
Résultat | void |