void OnGUI() { GUI.backgroundColor = new Color(1, 0.8f, 0.8f, 1); GUILayout.BeginVertical("", "box"); GUILayout.Label("Float"); val.DrawFloatGUI(); GUILayout.EndVertical(); GUI.backgroundColor = new Color(0.8f, 1f, 0.8f, 1); GUILayout.BeginVertical("", "box"); GUILayout.Label("Double"); val.DrawDoubleGUI(); GUILayout.EndVertical(); GUI.backgroundColor = new Color(0.8f, 0.8f, 1f, 1); GUILayout.BeginVertical("", "box"); GUILayout.Label("Integer"); val.DrawLongGUI(); GUILayout.EndVertical(); }