Beispiel #1
0
    public void BreakGroup(Selection controller)
    {
        boundingBox.ClearBoundingBox();

        for (int i = 0; i < objectList.Count; i++)
        {
            objectList [i].DeSelect(controller);
            objectList [i].transform.SetParent(ObjectsManager.Instance.transform);
            objectList [i].group = null;
        }

        ObjectsManager.Instance.DeleteGroup(this);
    }