protected virtual void GunnerInputUpdateHandler(PlayerGunner group) { var handler = new GunnerInputUpdateHandler(); handler.System = this; handler.Group = group; StartCoroutine(handler.Execute()); }
protected virtual void PlayerGunnerCreated(PlayerGunner data, PlayerGunner group) { var handler = new PlayerGunnerCreated(); handler.System = this; handler.Event = data; handler.Group = group; StartCoroutine(handler.Execute()); }
protected void PlayerGunnerComponentDestroyedFilter(PlayerGunner data) { var GroupItem = PlayerGunnerManager[data.EntityId]; if (GroupItem == null) { return; } if (!GroupItem.Enabled) { return; } this.PlayerGunnerComponentDestroyed(data, GroupItem); }
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()); }