TempStyle
How do I use Temp Style
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
229 | s_TempStyle.normal.background = texture; | 1 |
File name: ReorderableListResources.cs
Copy
224 public static void DrawTexture( Rect position, Texture2D texture )
225 {
226 if( Event.current.type != EventType.Repaint )
227 return;
228
229 s_TempStyle.normal.background = texture;
230
231 s_TempStyle.Draw( position, GUIContent.none, false, false, false, false );
232 }
TempStyle 150 lượt xem
Gõ tìm kiếm nhanh...