GenerateSpecialTextures









How do I use Generate Special Textures
Below are practical examples compiled from projects for learning and reference purposes

Featured Snippets


File name: ReorderableListResources.cs Copy
19         static ReorderableListResources()
20         {
21             GenerateSpecialTextures();
22             LoadResourceAssets();
23         }
File name: ReorderableListResources.cs Copy
130         private static void GenerateSpecialTextures()
131         {
132             var splitterColor = EditorGUIUtility.isProSkin
133                 ? new Color( 1f, 1f, 1f, 0.14f )
134                 : new Color( 0.59f, 0.59f, 0.59f, 0.55f )
135                 ;
136             texItemSplitter = CreatePixelTexture( "(Generated) Item Splitter", splitterColor );
137         }

GenerateSpecialTextures 122 lượt xem

Gõ tìm kiếm nhanh...