메소드 | 설명 | |
---|---|---|
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 OnTriggerEnter2D ( |
||
o | ||
리턴 | void |
public OnTriggerExit2D ( |
||
o | ||
리턴 | void |