Exemplo n.º 1
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());
        }
Exemplo n.º 2
0
        protected void WavesGameSystemGameOverFilter(uFrameECSExample.GameOver data)
        {
            var WavesGameItems = WavesGameManager.Components;

            for (var WavesGameIndex = 0
                 ; WavesGameIndex < WavesGameItems.Count; WavesGameIndex++
                 )
            {
                if (!WavesGameItems[WavesGameIndex].Enabled)
                {
                    continue;
                }
                this.WavesGameSystemGameOverHandler(data, WavesGameItems[WavesGameIndex]);
            }
        }