Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using UnityEditor;
- using System.Collections;
- public class TestEditor : EditorWindow
- {
- [MenuItem("Framework/Test Editor")]
- static void Initialize()
- {
- // Open the window, set the title
- TestEditor window = (TestEditor)GetWindow(typeof(TestEditor), false, "Test Editor", true);
- window.Show();
- }
- void OnGUI()
- {
- this.minSize = new Vector2(1000, 675);
- GUILayout.Label("Some text that is sharp");
- GUILayout.BeginArea(new Rect(2.5f, this.position.height / 2 + 20, this.position.width, 25));
- GUILayout.Label("Some text that is blurry");
- GUILayout.EndArea();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement