SwitchLevelGateAnimControlTools.cs 309 B

123456789101112131415161718
  1. using System;
  2. namespace SceneStory
  3. {
  4. public class SwitchLevelGateAnimControlTools : BaseBehaviour
  5. {
  6. public void SwitchLevel()
  7. {
  8. if (R.Mode.IsInBattleMode())
  9. {
  10. R.Mode.ExitMode(Mode.AllMode.Battle);
  11. }
  12. this.levelGate.Enter(false);
  13. }
  14. public SceneGate levelGate;
  15. }
  16. }