示例#1
0
    static void Init()
    {
        // Debug.Log("AutoSnap: Init");

        AutoSnap window = (AutoSnap)EditorWindow.GetWindow(typeof(AutoSnap), false, "Auto Snap", true);

        window.Show();
    }
示例#2
0
    static void Init()
    {
        // Debug.Log("AutoSnap: Init");

        AutoSnap window = (AutoSnap)EditorWindow.GetWindow(typeof(AutoSnap));

        window.maxSize = new Vector2(200, 125);
        window.Show();
    }