Exemple #1
0
        protected virtual void WeaponSystemUpdateHandler(ShootingGuns group)
        {
            var handler = new WeaponSystemUpdateHandler();

            handler.System = this;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
Exemple #2
0
        protected void ShootingGunsComponentDestroyedFilter(ShootingGuns data)
        {
            var GroupItem = ShootingGunsManager[data.EntityId];

            if (GroupItem == null)
            {
                return;
            }
            if (!GroupItem.Enabled)
            {
                return;
            }
            this.ShootingGunsComponentDestroyed(data, GroupItem);
        }
Exemple #3
0
        protected void BeginShootingFilter(ShootingGuns data)
        {
            var GroupItem = ShootingGunsManager[data.EntityId];

            if (GroupItem == null)
            {
                return;
            }
            if (!GroupItem.Enabled)
            {
                return;
            }
            this.BeginShooting(data, GroupItem);
        }
Exemple #4
0
 protected virtual void ShootingGunsComponentDestroyed(ShootingGuns data, ShootingGuns group)
 {
 }
Exemple #5
0
 protected virtual void BeginShooting(ShootingGuns data, ShootingGuns group)
 {
 }