FiE-Game/Assets/Scripts/FieLobbyBootManager.cs

21 lines
622 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using Fie.Manager;
public class FieLobbyBootManager : FieManagerBehaviour<FieLobbyBootManager>
{
private bool _isInitialized;
private void Start()
{
FieManagerBehaviour<FieLobbyBootManager>.I.StartUp();
if (!_isInitialized)
{
FieManagerBehaviour<FieGameCameraManager>.I.gameObject.SetActive(value: true);
FieManagerBehaviour<FieGameCharacterManager>.I.gameObject.SetActive(value: true);
FieManagerBehaviour<FieGameCameraManager>.I.StartUp();
FieManagerBehaviour<FieLobbyGameCharacterGenerateManager>.I.StartUp();
FieManagerBehaviour<FieGUIManager>.I.StartUp();
_isInitialized = true;
}
}
}