Skip to content

Commit cd184f0

Browse files
committed
fix: start of the view creator tool
1 parent ffe8e0c commit cd184f0

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

Editor.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/ViewCreatorEditor.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEditor;
4+
using UnityEngine;
5+
6+
7+
namespace BigasTools{
8+
public class CreateViewEditor : EditorWindow
9+
{
10+
[MenuItem("BigasTools/Create View")]
11+
private static void ShowWindow() {
12+
var window = GetWindow<CreateViewEditor>();
13+
window.titleContent = new GUIContent("View creator");
14+
window.Show();
15+
window.minSize = new Vector2(400,180);
16+
}
17+
18+
void OnGUI()
19+
{
20+
EditorGUILayout.LabelField("MODAL DOS ANOES", EditorStyles.wordWrappedLabel);
21+
GUILayout.Space(70);
22+
if (GUILayout.Button("CAPITAO DE AREIA")) this.Close();
23+
}
24+
}
25+
}

Editor/ViewCreatorEditor.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)