Beispiel #1
0
    public void RemoveMoveInteraction(MoveInteraction group)
    {
        // reset place animation
        group.opticalElement.waitCircle.fillAmount = 0;

        moveInteractionList.Remove(group);

        bool placed = group.PlaceObject();

        if (placed)
        {
            group.StartCoroutine(group.DelayedDestroy());
        }
        else
        {
            Destroy(group);
        }
    }