Editing
How do I use Editing
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
79 | GUILayout.Label("Editing is disabled in play mode so the two objects don't go out of sync"); | 1 |
File name: PhotonTransformViewEditor.cs
Copy
70 private void DrawIsPlayingWarning()
71 {
72 if (Application.isPlaying == false)
73 {
74 return;
75 }
76
77 GUILayout.BeginVertical(GUI.skin.box);
78 {
79 GUILayout.Label("Editing is disabled in play mode so the two objects don't go out of sync");
80 }
81 GUILayout.EndVertical();
82 }
Editing 118 lượt xem
Gõ tìm kiếm nhanh...