// Token: 0x060000AF RID: 175 RVA: 0x00007B78 File Offset: 0x00005D78
            private void OnContextMenuShowInExplorer(object userData)
            {
                List <string> selectedPaths = this.GetSelectedPaths();

                EditorApplication2.ShowInExplorer(selectedPaths.ToArray());
                base.Editor.Repaint();
            }
Exemple #2
0
 // Token: 0x0600017B RID: 379 RVA: 0x0000B53A File Offset: 0x0000973A
 private void OnDestroy()
 {
     this._initphase = 0;
     this._enabled   = false;
     EditorApplication.playModeStateChanged -= this.OnPlayModeStateChanged;
     EditorApplication2.OnPluginDestroy();
 }
Exemple #3
0
            // Token: 0x060001AB RID: 427 RVA: 0x0000C9C0 File Offset: 0x0000ABC0
            private void OnContextMenuFindReferencesInScene()
            {
                List <Object> selectedAssets = this.GetSelectedAssets();

                if (selectedAssets.Count > 0)
                {
                    EditorApplication2.FindReferencesInScene(selectedAssets[0]);
                }
            }
Exemple #4
0
        // Token: 0x06000141 RID: 321 RVA: 0x0000A47C File Offset: 0x0000867C
        public static void OpenAssets(Object[] objects, int dialogthreshold)
        {
            List <string> list = new List <string>();

            foreach (Object @object in objects)
            {
                string assetPath = AssetDatabase.GetAssetPath(@object);
                if (!string.IsNullOrEmpty(assetPath))
                {
                    list.Add(assetPath);
                }
            }
            EditorApplication2.OpenAssets(list.ToArray(), dialogthreshold);
        }
Exemple #5
0
            // Token: 0x060001AA RID: 426 RVA: 0x0000C9A0 File Offset: 0x0000ABA0
            private void OnContextMenuOpenWithDefaultApp()
            {
                List <string> selectedPaths = this.GetSelectedPaths();

                EditorApplication2.OpenAssets(selectedPaths.ToArray());
            }
Exemple #6
0
            // Token: 0x060001A9 RID: 425 RVA: 0x0000C980 File Offset: 0x0000AB80
            private void OnContextMenuShowInExplorer()
            {
                List <string> selectedPaths = this.GetSelectedPaths();

                EditorApplication2.ShowInExplorer(selectedPaths.ToArray());
            }
Exemple #7
0
 // Token: 0x06000144 RID: 324 RVA: 0x0000A537 File Offset: 0x00008737
 public static void ShowInExplorer(string[] assetPaths)
 {
     EditorApplication2.ShowInExplorer(assetPaths, 3);
 }
Exemple #8
0
 // Token: 0x06000142 RID: 322 RVA: 0x0000A4CA File Offset: 0x000086CA
 public static void OpenAssets(string[] paths)
 {
     EditorApplication2.OpenAssets(paths, 3);
 }
Exemple #9
0
 // Token: 0x06000140 RID: 320 RVA: 0x0000A473 File Offset: 0x00008673
 public static void OpenAssets(Object[] objects)
 {
     EditorApplication2.OpenAssets(objects, 3);
 }