OneWayPlatform.OnTriggerExit2D C# (CSharp) Method

OnTriggerExit2D() public method

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