예제 #1
0
        public override void Initialize()
        {
            base.Initialize();
            var rangedWeapon = Owner.GetComponent <RangedWeaponComponent>();

            capacitorComponent       = Owner.GetComponent <HitscanWeaponCapacitorComponent>();
            rangedWeapon.FireHandler = Fire;
        }