protected virtual void GunnerInputUpdateHandler(PlayerGunner group)
        {
            var handler = new GunnerInputUpdateHandler();

            handler.System = this;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
Exemplo n.º 2
0
        protected virtual void PlayerGunnerCreated(PlayerGunner data, PlayerGunner group)
        {
            var handler = new PlayerGunnerCreated();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
Exemplo n.º 3
0
        protected void PlayerGunnerComponentDestroyedFilter(PlayerGunner data)
        {
            var GroupItem = PlayerGunnerManager[data.EntityId];

            if (GroupItem == null)
            {
                return;
            }
            if (!GroupItem.Enabled)
            {
                return;
            }
            this.PlayerGunnerComponentDestroyed(data, GroupItem);
        }
Exemplo n.º 4
0
        protected virtual void PlayerSystemOnCollisionEnterHandler(uFrame.ECS.UnityUtilities.OnTriggerEnterDispatcher data, Hazard collider, PlayerGunner source)
        {
            var handler = new PlayerSystemOnCollisionEnterHandler();

            handler.System   = this;
            handler.Event    = data;
            handler.Collider = collider;
            handler.Source   = source;
            StartCoroutine(handler.Execute());
        }