Ejemplo n.º 1
0
 public override void OpenCoreGameHandler(OpenCoreGame data)
 {
     base.OpenCoreGameHandler(data);
     Publish(new LoadSceneCommand()
     {
         SceneName = "CoreGameScene"
     });
 }
Ejemplo n.º 2
0
 /// <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())
 }