Метод | Описание | |
---|---|---|
CharacterEnter ( Character p ) : void |
add character to the list
|
|
CharacterExit ( Character p ) : void |
remove character from the list
|
|
GetCenter ( ) : |
Get real-world-coordinates center
|
|
OnDestroy ( ) : void |
exit all player
|
|
OnTriggerEnter2D ( |
if Hitbox with EnterAreas enter -> CharacterEnter
|
|
OnTriggerExit2D ( |
if Hitbox with EnterAreas leave -> CharacterExit
|
|
Start ( ) : void |
force BoxCollider2D to be trigger
|
public CharacterEnter ( Character p ) : void | ||
p | Character | |
Результат | void |
public CharacterExit ( Character p ) : void | ||
p | Character | |
Результат | void |
public OnTriggerEnter2D ( |
||
o | ||
Результат | void |
public OnTriggerExit2D ( |
||
o | ||
Результат | void |