public override void OpenCoreGameHandler(OpenCoreGame data) { base.OpenCoreGameHandler(data); Publish(new LoadSceneCommand() { SceneName = "CoreGameScene" }); }
/// <summary> // This method is executed when using this.Publish(new OpenCoreGame()) /// </summary> public virtual void OpenCoreGameHandler(OpenCoreGame data) { // Process the commands information. Also, you can publish new events by using the line below. // this.Publish(new AnotherEvent()) }