コード例 #1
0
    public static void Init()
    {
        // Gets the existing version of this window or creates a new one, then show it
        AutoSaver _instance = (AutoSaver)GetWindow(typeof(AutoSaver));

        _instance.Show();
    }
コード例 #2
0
    static void Init()
    {
        AutoSaver window = (AutoSaver)GetWindowWithRect(
            typeof(AutoSaver),
            new Rect(0, 0, 160, 60));

        window.Show();
    }