コード例 #1
0
        private bool IsValidHierarchyInstanceID(int instanceID)
        {
            bool flag  = SceneHierarchyWindow.IsSceneHeaderInHierarchyWindow(EditorSceneManager.GetSceneByHandle(instanceID));
            bool flag2 = InternalEditorUtility.GetClassIDWithoutLoadingObject(instanceID) == this.kGameObjectClassID;

            return(flag || flag2);
        }