private void OnGUI() { // Input layout m_JSONObject = GUIExtensions.TextArea(m_JSONObject, new Rect(0.05f, 0.01f, 0.9f, 0.44f)); // Action layout GUIExtensions.Buttons(m_GUIButtons, OnGUIButtonPressed, new Rect(0.05f, 0.45f, 0.9f, 0.1f)); // Result layout GUIExtensions.TextArea(m_result, new Rect(0.05f, 0.55f, 0.9f, 0.44f)); }
private void OnGUI() { // Input layout m_input = GUIExtensions.TextArea(m_input, new Rect(0.05f, 0.01f, 0.9f, 0.39f)); m_keyPath = GUIExtensions.TextArea(m_keyPath, new Rect(0.05f, 0.4f, 0.9f, 0.05f)); // Action layout GUIExtensions.Buttons(m_GUIButtons, OnGUIButtonPressed, new Rect(0.05f, 0.45f, 0.9f, 0.25f)); // Result layout GUIExtensions.TextArea(m_result, new Rect(0.05f, 0.7f, 0.9f, 0.29f)); }