Example #1
0
 void Awake()
 {
     fireMech    = GetComponent <FireMechanism>();
     ammoSys     = GetComponent <AmmoSystem>();
     drawRelease = GetComponent <DrawReleaseScript>();
     reloadable  = GetComponent <IReloadable>();
 }
Example #2
0
    void Awake()
    {
        initReserve = reserve;
        mag         = magSize;

        animator = GetComponent <Animator>();
        fireMech = GetComponent <FireMechanism>();
    }
Example #3
0
 void Awake()
 {
     fireMech    = GetComponent <FireMechanism>();
     ammoSys     = GetComponent <AmmoSystem>();
     recoil      = GetComponent <RecoilBase>();
     scopeStatus = GetComponent <IScopeStatus>();
     scope       = GetComponent <ScopeBase>();
     reloadable  = GetComponent <IReloadable>();
 }
Example #4
0
 void Awake()
 {
     fireMech = GetComponent <FireMechanism>();
 }
Example #5
0
 public void AssignHeldWeapon()
 {
     fireMech  = weaponPos.GetComponentInChildren <FireMechanism>();
     reloadSys = weaponPos.GetComponentInChildren <ReloadSystem>();
 }