1
This commit is contained in:
@@ -83,6 +83,14 @@ namespace BITKit.SceneManagement
|
||||
|
||||
public class SceneService : MonoBehaviour,ISceneService
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[UnityEditor.MenuItem("Tools/Scenes/Toggle Scene Service Once")]
|
||||
public static void ToggleSceneServiceOnce()
|
||||
{
|
||||
AllowInitialize = !AllowInitialize;
|
||||
Debug.Log("允许初始化场景设置为:"+AllowInitialize);
|
||||
}
|
||||
#endif
|
||||
[BITCommand]
|
||||
public static async void Map(string mapName)
|
||||
{
|
||||
|
Reference in New Issue
Block a user