最終更新:2019-12-17 (火) 17:38:57 (1564d)
OnGUI
Top / OnGUI
- MonoBehaviour.OnGUI
void OnGUI() { if (GUI.Button(new Rect(10, 10, 150, 100), "I am a button")) { print("You clicked the button!"); } }