常用方法
常用方法
常用方法
常用方法
void OnGUI() { if (instance == null) { instance = this; } if (currentMenuState != null) { currentMenuState.OnGUI(); } else { OpenMenu(); } }
void OnGUI() { if (instance == null) { instance = this; } if (currentMenuState != null) { currentMenuState.OnGUI(); } else { OpenMenu(); } }