Ejemplo n.º 1
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);
        }
Ejemplo n.º 2
0
 // Token: 0x06000142 RID: 322 RVA: 0x0000A4CA File Offset: 0x000086CA
 public static void OpenAssets(string[] paths)
 {
     EditorApplication2.OpenAssets(paths, 3);
 }
Ejemplo n.º 3
0
 // Token: 0x06000140 RID: 320 RVA: 0x0000A473 File Offset: 0x00008673
 public static void OpenAssets(Object[] objects)
 {
     EditorApplication2.OpenAssets(objects, 3);
 }