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

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

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

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