浏览代码

Rolled Back fix

/main
Thomas Iché 5 年前
当前提交
6c992092
共有 1 个文件被更改,包括 1 次插入9 次删除
  1. 10
      Editor/WelcomeScreen/WelcomeScreen.cs

10
Editor/WelcomeScreen/WelcomeScreen.cs


const int WindowWidth = 640;
const int WindowHeight = 520;
static WelcomeScreen s_Instance;
static bool showOnStartup
{
get { return EditorPrefs.GetBool(kShowOnStartupPreference, true); }

[MenuItem("Window/Gameplay Ingredients")]
static void ShowFromMenu()
{
s_Instance = GetWindow<WelcomeScreen>(true, "Gameplay Ingredients");
GetWindow<WelcomeScreen>(true, "Gameplay Ingredients");
}
private void OnEnable()

wizardMode = WizardMode.FirstTimeSetup;
InitTips();
}
private void OnDisable()
{
if (s_Instance != null)
s_Instance.Close();
}
private void OnDestroy()

正在加载...
取消
保存