コード例 #1
0
    public static void Display()
    {
        PiXYZAboutMenu window = (PiXYZAboutMenu)EditorWindow.GetWindow(typeof(PiXYZAboutMenu), true, "About PiXYZ PLUGIN for Unity");

        window.position = new Rect((Screen.currentResolution.width - window.position.width) / 2,
                                   (Screen.currentResolution.height - window.position.height) / 2,
                                   430.0f,
                                   600.0f);
        window.maxSize = new Vector2(window.position.width, window.position.height);
        window.minSize = new Vector2(window.position.width, window.position.height);

        window.Show();
        PiXYZ4UnityWrapper.initialize();
    }
コード例 #2
0
 void currentLicenseTab()
 {
     PiXYZAboutMenu.showLicenseInfos();
 }