using Fie.Manager; using Fie.Scene; using UnityEngine; namespace Fie.Core { /// /// Entry-point for Fie. Everything starts here. /// public class FieBootstrap : MonoBehaviour { public static bool isBootedFromBootStrap { get; private set; } /// /// Starts the game. Loads the title screen. /// private void Start() { FieManagerFactory.I.StartUp(); FieManagerBehaviour.I.LoadScene(new FieSceneTitle(), allowSceneActivation: true, FieFaderManager.FadeType.OUT_TO_WHITE, FieFaderManager.FadeType.IN_FROM_WHITE, 1.5f ); isBootedFromBootStrap = true; FieManagerBehaviour.I.ChangeMixerVolume(0f, 0.5f, FieAudioManager.FieAudioMixerType.BGM, FieAudioManager.FieAudioMixerType.Voice, FieAudioManager.FieAudioMixerType.SE ); UnityEngine.Object.Destroy(base.gameObject); } } }