示例#1
0
 private static void InitTextures(TexturesClass textures)
 {
     textures.CollabPush        = EditorGUIUtility.FindTexture("CollabPush");
     textures.CollabPull        = EditorGUIUtility.FindTexture("CollabPull");
     textures.GameView          = EditorGUIUtility.FindTexture("UnityEditor.GameView");
     textures.FolderIcon        = EditorGUIUtility.FindTexture("Folder Icon");
     textures.OrbitTool         = EditorGUIUtility.FindTexture("ViewToolOrbit");
     textures.RotateTool        = EditorGUIUtility.FindTexture("RotateTool");
     textures.AnimationWindow   = EditorGUIUtility.FindTexture("UnityEditor.AnimationWindow");
     textures.ZoomTool          = EditorGUIUtility.FindTexture("ViewToolZoom");
     textures.SpinTexture       = EditorGUIUtility.FindTexture("WaitSpin00");
     textures.Collab            = EditorGUIUtility.FindTexture("Collab");
     textures.CollabNew         = EditorGUIUtility.FindTexture("CollabNew");
     textures.CollabConflict    = EditorGUIUtility.FindTexture("CollabConflict");
     textures.WarrningIconSmall = EditorGUIUtility.FindTexture("console.warnicon.sml");
 }
示例#2
0
 private static void InitTextures(TexturesClass textures)
 {
     textures.CollabPush      = EditorGUIUtility.FindTexture("CollabPush");
     textures.CollabPull      = EditorGUIUtility.FindTexture("CollabPull");
     textures.GameView        = EditorGUIUtility.FindTexture("UnityEditor.GameView");
     textures.FolderIcon      = EditorGUIUtility.FindTexture("Folder Icon");
     textures.OrbitTool       = EditorGUIUtility.FindTexture("ViewToolOrbit");
     textures.RotateTool      = EditorGUIUtility.FindTexture("RotateTool");
     textures.AnimationWindow = EditorGUIUtility.FindTexture("UnityEditor.AnimationWindow");
     textures.ZoomTool        = EditorGUIUtility.FindTexture("ViewToolZoom");
     textures.SpinTextures    = new Texture2D[12];
     for (int i = 0; i < 12; i++)
     {
         textures.SpinTextures[i] = EditorGUIUtility.FindTexture("WaitSpin" + i.ToString("00"));
     }
     textures.Collab            = EditorGUIUtility.FindTexture("Collab");
     textures.CollabNew         = EditorGUIUtility.FindTexture("CollabNew");
     textures.CollabConflict    = EditorGUIUtility.FindTexture("CollabConflict");
     textures.WarrningIconSmall = EditorGUIUtility.FindTexture("console.warnicon.sml");
     textures.ErrorIconSmall    = EditorGUIUtility.FindTexture("console.erroricon.sml");
     textures.InfoIconSmall     = EditorGUIUtility.FindTexture("console.infoicon.sml");
 }