public OnTriggerExit2D ( |
||
other | ||
return | void |
void OnTriggerExit2D(Collider2D other)
{
if (other.gameObject == playerObject) {
isClose = false;
StopGhost();
//this.enabled = false;
}
}