public void Editor_AddToBlockSet(BlockOrientation orientation, GameObject blockObject) { BlockSet targetSet = GetSetForOrientation(orientation, true); if (targetSet.rootObject == null) { //targetSet.rootObject = new GameObject(orientation.ToString()); //targetSet.rootObject.transform.parent = transform; //targetSet.rootObject.transform.localPosition = Vector3.zero; targetSet.rootObject = this.gameObject; } //PREFAB //blockObject.SetActiveRecursively(false); targetSet.Editor_AddToBlockSet(blockObject, this); }