コード例 #1
0
    //Reset the ring to it's original max velocity, removed it from the pin in the rule manager and reset the marker for a ring that is not placable.
    void OnTriggerExit2D(Collider2D collision)
    {
        RingScript ring = collision.GetComponentInParent <RingScript>();

        ring.ResetMaxVelocity();
        ruleManager.RemoveRingFromPin(ring.ringSize, pin);
        unplaceableRing = null;
    }