Esempio n. 1
0
        public void Awake()
        {
            scene_trans = this;
            Debug.Util.Log("[SceneTransition] Instance is get Ready");
            DontDestroyOnLoad(this);
            resouce_manager = ResourceManager.CreateInstance();
            Debug.Util.Log("--- Resource Loaded");

            sound_controller = SoundController.CreateInstance();
            sound_controller.setDataLoader(resouce_manager.Bgm, resouce_manager.Se);
            Debug.Util.Log("--- Sound Loaded : " + sound_controller.ToString());

            next_scene = SceneDefinition.Menu;
            ChangeScene(next_scene);
            Debug.Util.Log("--- Scene Changed");
        }
Esempio n. 2
0
 private void Start()
 {
     _transition = FindObjectOfType <SceneTransition>();
 }