FMod
This commit is contained in:
@@ -11,13 +11,16 @@ namespace AibisDream
|
||||
PlugOut,
|
||||
OpenScreen,
|
||||
CloseScreen,
|
||||
SceneLoad,
|
||||
SceneUnload,
|
||||
FixStateSwitch,
|
||||
Menu
|
||||
}
|
||||
|
||||
public enum DialogEventEnum
|
||||
{
|
||||
LineStart,
|
||||
LineShowed,
|
||||
LineShown,
|
||||
LineEnd,
|
||||
OptionShow,
|
||||
OptionSelected
|
||||
|
||||
@@ -66,6 +66,7 @@ namespace AibisDream
|
||||
_loadHandle = Addressables.LoadSceneAsync(_sceneToLoad, LoadSceneMode.Additive);
|
||||
yield return _loadHandle;
|
||||
|
||||
EnumEventSystem.Global.Send(EventEnum.SceneLoad, _sceneToLoad);
|
||||
_currentScene.Value = _sceneToLoad;
|
||||
_isLoading = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user