Beispiel #1
0
        public static void AssignObjectsToGroup(IEnumerable <GameObject> gameObjects, ObjectGroup objectGroup)
        {
            var roots = Octave3DWorldBuilder.ActiveInstance.GetRoots(gameObjects);

            foreach (var root in roots)
            {
                UndoEx.SetTransformParent(root.transform, objectGroup.GroupObject.transform);
            }
        }