static void Init() { // Debug.Log("AutoSnap: Init"); AutoSnap window = (AutoSnap)EditorWindow.GetWindow(typeof(AutoSnap), false, "Auto Snap", true); window.Show(); }
static void Init() { // Debug.Log("AutoSnap: Init"); AutoSnap window = (AutoSnap)EditorWindow.GetWindow(typeof(AutoSnap)); window.maxSize = new Vector2(200, 125); window.Show(); }