public bool EnsureViewExist(SceneHierarchy hierarchy) { if (view == null) { view = hierarchy.GetViewItem(id); if (view == null) { return(false); } } return(true); }
public bool EnsureViewExist(SceneHierarchy hierarchy) { if (view == null) { view = hierarchy.GetViewItem(id); if (view == null) { return(false); } } goView = new GameObjectViewItem(view); return(true); }
public SceneHierarchyWindow(EditorWindow instance) { this.instance = instance; actualWindow = instance; hierarchy = new SceneHierarchy(sceneHierarchyProperty.GetValue(actualWindow)); }