コード例 #1
0
        protected virtual void DisableUI(WavesGame data, WavesGame group)
        {
            var handler = new DisableUI();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
コード例 #2
0
        protected virtual void WavesGameComponentDestroyed(WavesGame data, WavesGame group)
        {
            var handler = new WavesGameComponentDestroyed();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
コード例 #3
0
        protected virtual void SetScoreLabel(WavesGame data, WavesGame group, PropertyChangedEvent <System.Int32> value)
        {
            var handler = new SetScoreLabel();

            handler.System   = this;
            handler.Event    = data;
            handler.Group    = group;
            handler.OldValue = value.PreviousValue;
            handler.NewValue = value.CurrentValue;
            StartCoroutine(handler.Execute());
        }
コード例 #4
0
        protected void DisableUIFilter(WavesGame data)
        {
            var GroupWavesGame = WavesGameManager[data.EntityId];

            if (GroupWavesGame == null)
            {
                return;
            }
            if (!GroupWavesGame.Enabled)
            {
                return;
            }
            this.DisableUI(data, GroupWavesGame);
        }
コード例 #5
0
        protected void SetScoreLabelFilter(WavesGame data, PropertyChangedEvent <System.Int32> value)
        {
            var GroupWavesGame = WavesGameManager[data.EntityId];

            if (GroupWavesGame == null)
            {
                return;
            }
            if (!GroupWavesGame.Enabled)
            {
                return;
            }
            this.SetScoreLabel(data, GroupWavesGame, value);
        }
コード例 #6
0
        protected void WavesGameComponentDestroyedFilter(WavesGame data)
        {
            var GroupWavesGame = WavesGameManager[data.EntityId];

            if (GroupWavesGame == null)
            {
                return;
            }
            if (!GroupWavesGame.Enabled)
            {
                return;
            }
            this.WavesGameComponentDestroyed(data, GroupWavesGame);
        }
コード例 #7
0
        protected virtual void WavesGameSystemGameOverHandler(uFrameECSExample.GameOver data, WavesGame group)
        {
            var handler = new WavesGameSystemGameOverHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }