public static void Init(PluginInfo serverPlugin, PluginReadme readme)
        {
            PTPluginReadmeWin readmeWin = (PTPluginReadmeWin)EditorWindow.GetWindow(typeof(PTPluginReadmeWin), true, "PTPlugin Reame", true);

            readmeWin.mReadme      = readme;
            readmeWin.serverPlugin = serverPlugin;
            readmeWin.position     = new Rect(Screen.width / 2, Screen.height / 2, 560, 300);
            readmeWin.Show();
        }
Пример #2
0
 private void ShowReadMe(PluginInfo serverPlugin, PluginReadme readme)
 {
     PTPluginReadmeWin.Init(serverPlugin, readme);
 }