Example #1
0
        /*
         * This is invoked when someone publishes IntroFinishedEvent (ex. IntroSceneFlow.cs)
         * We handle this event to get the moment, when Intro is finished, so we can move to
         * AssetLoadingScene
         */
        public override void IntroFinishedEventHandler(IntroFinishedEvent data)
        {
            base.IntroFinishedEventHandler(data);

            this.Publish(new UnloadSceneCommand() //Unload Intro scene
            {
                SceneName = "IntroScene"
            });

            this.Publish(new LoadSceneCommand() // Load AssetsLoadingScene
            {
                SceneName = "AssetsLoadingScene"
            });
        }
Example #2
0
        /*
         * This is invoked when someone publishes IntroFinishedEvent (ex. IntroSceneFlow.cs)
         * We handle this event to get the moment, when Intro is finished, so we can move to
         * AssetLoadingScene
         */

        public override void IntroFinishedEventHandler(IntroFinishedEvent data)
        {
            base.IntroFinishedEventHandler(data);

            this.Publish(new UnloadSceneCommand() //Unload Intro scene
            {
                SceneName = "IntroScene"
            });

            this.Publish(new LoadSceneCommand() // Load AssetsLoadingScene
            {
                SceneName = "AssetsLoadingScene"
            });
        }
Example #3
0
        /// <sumarry>
        // This method is executed when using this.Publish(new IntroFinishedEvent())
        /// </sumarry>
        public override void IntroFinishedEventHandler(IntroFinishedEvent data)
        {
            base.IntroFinishedEventHandler(data);
            // Process the commands information. Also, you can publish new events by using the line below.
            // this.Publish(new AnotherEvent())

            this.Publish(new UnloadSceneCommand() //Unload Intro scene
            {
                SceneName = "IntroScene"
            });

            this.Publish(new LoadSceneCommand() // Load AssetsLoadingScene
            {
                SceneName = "AssetsLoadingScene"
            });
        }
 /// <summary>
 // This method is executed when using this.Publish(new IntroFinishedEvent())
 /// </summary>
 public virtual void IntroFinishedEventHandler(IntroFinishedEvent data) {
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
 }
Example #5
0
 /// <summary>
 // This method is executed when using this.Publish(new IntroFinishedEvent())
 /// </summary>
 public virtual void IntroFinishedEventHandler(IntroFinishedEvent data)
 {
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
 }
Example #6
0
 public virtual void IntroFinishedEventHandler(IntroFinishedEvent data)
 {
 }