예제 #1
0
 void Start()
 {
     netPlayerHealth = GetComponent <NetPlayerHealth>();
     netWeaponShoot  = GetComponentInChildren <NetWeaponShoot>();
     netShoot        = GetComponent <NetShoot>();
     netWeaponShoot.stuntDuration = stuntTime;
 }
예제 #2
0
    void Start()
    {
        netPlayerHealth = GetComponent <NetPlayerHealth>();
        netWeaponShoot  = GetComponentInChildren <NetWeaponShoot>();
        netShoot        = GetComponent <NetShoot>();

        initialRange      = netWeaponShoot.range;
        initialShootDelay = netWeaponShoot.shootDelay;
    }
예제 #3
0
 void Start()
 {
     netFPSController = GetComponent <NetFPSController>();
     netWeaponShoot   = GetComponentInChildren <NetWeaponShoot>();
     netPlayerHealth  = GetComponent <NetPlayerHealth>();
 }