示例#1
0
        public bool EnsureViewExist(SceneHierarchy hierarchy)
        {
            if (view == null)
            {
                view = hierarchy.GetViewItem(id);
                if (view == null)
                {
                    return(false);
                }
            }

            return(true);
        }
示例#2
0
        public bool EnsureViewExist(SceneHierarchy hierarchy)
        {
            if (view == null)
            {
                view = hierarchy.GetViewItem(id);
                if (view == null)
                {
                    return(false);
                }
            }

            goView = new GameObjectViewItem(view);

            return(true);
        }
示例#3
0
 public SceneHierarchyWindow(EditorWindow instance)
 {
     this.instance = instance;
     actualWindow  = instance;
     hierarchy     = new SceneHierarchy(sceneHierarchyProperty.GetValue(actualWindow));
 }