Exemplo n.º 1
0
    private void OnTriggerExit2D(Collider2D other)
    {
        Ring r = other.GetComponent <Ring>();

        if (r)
        {
            r.ResetRing();
            r.bInMyHome = false;
            r.AddGroupSorting();
            RemoveRing(r);
        }
    }