DoContainerHeaderFoldout
How do I use Do Container Header Foldout
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
164 | return DoContainerHeaderFoldout( headline, foldout ); | 1 |
254 | static bool DoContainerHeaderFoldout( string headline, bool foldout ) | 2 |
File name: PhotonGUI.cs
Copy
162 public static bool ContainerHeaderFoldout( string headline, bool foldout )
163 {
164 return DoContainerHeaderFoldout( headline, foldout );
165 }
File name: PhotonGUI.cs
Copy
254 static bool DoContainerHeaderFoldout( string headline, bool foldout )
255 {
256 Rect rect = DoContainerHeader( "", 27, 0f );
257 Rect foldoutRect = new Rect( rect.xMin + 15, rect.yMin + 5, rect.width, rect.height );
258
259 return EditorGUI.Foldout( foldoutRect, foldout, headline, FoldoutBold );
260 }
DoContainerHeaderFoldout 113 lượt xem
Gõ tìm kiếm nhanh...