コード例 #1
0
 public void ContinueOnProgressShow(ShowBattleResultsScreenNotificationEvent e, Node any, [JoinAll] ScreenNode screen)
 {
     if (!e.NotificationExist)
     {
         screen.battleResultAwardsScreenAnimation.playActions = true;
     }
 }
コード例 #2
0
        public void ScreenPartShown(ScreenPartShownEvent e, Node any, [JoinAll] ScreenNode screen, [JoinAll] UserNode user)
        {
            ShowBattleResultsScreenNotificationEvent eventInstance = new ShowBattleResultsScreenNotificationEvent {
                Index = 1
            };

            base.NewEvent(eventInstance).Attach(any).ScheduleDelayed(0.3f);
        }
        public void ShowInfo()
        {
            this.playActions = false;
            this.infoAnimator.SetBool("on", true);
            this.showDelay = 0.5f;
            ShowBattleResultsScreenNotificationEvent eventInstance = new ShowBattleResultsScreenNotificationEvent {
                Index = 1
            };

            EngineService.Engine.ScheduleEvent(eventInstance, EngineService.EntityStub);
            if (!eventInstance.NotificationExist)
            {
                this.playActions = true;
            }
            this.rankProgressBar.Animate(1f);
            this.containerProgressBar.Animate(1f);
        }