private void OnWorldSelected(WorldButton button)
        {
            SceneGlobalState.WorldScrollOffset = ScrollOffset;
            var transition = new LevelSelectController.TransitionData(button.World);

            TransitionManager.TransferToLevelSelect(transition);
        }
        void OnEscapeKeyDown()
        {
            var transition = new LevelSelectController.TransitionData(_levelDef.World);

            TransitionManager.TransferToLevelSelect(transition);
        }
Exemple #3
0
 public static void TransferToLevelSelect(LevelSelectController.TransitionData data)
 {
     LevelSelectController.TransitionData_ = data;
     Application.LoadLevel("LevelSelect");
 }
 void OnEscapeKeyDown()
 {
     var transition = new LevelSelectController.TransitionData(_levelDef.World);
     TransitionManager.TransferToLevelSelect(transition);
 }
 private void OnWorldSelected(WorldButton button)
 {
     SceneGlobalState.WorldScrollOffset = ScrollOffset;
     var transition = new LevelSelectController.TransitionData(button.World);
     TransitionManager.TransferToLevelSelect(transition);
 }