SelectEnterSceneCommand.cs 354 B

1234567891011121314
  1. using Blue;
  2. public class SelectEnterSceneCommand : ICommand
  3. {
  4. private string mEnterSceneName;
  5. public SelectEnterSceneCommand(string enterSceneName)
  6. {
  7. mEnterSceneName = enterSceneName;
  8. }
  9. public void OnExcute()
  10. {
  11. this.TriggerEvent(new SelectEnterSceneEvent(){EnterSceneName = mEnterSceneName});
  12. }
  13. }