コード例 #1
0
 private void Awake()
 {
     gunTurret = gameObject.GetComponentInChildren <GunTurretAI>();
     gunTurret.gun.OnSetFire.AddListener(AAAUpdate);
 }
コード例 #2
0
 private void Awake()
 {
     gunTurret                 = gameObject.GetComponentInChildren <GunTurretAI>();
     Networker.AAAUpdate      += AAAUpdate;
     gunTurret.gun.currentAmmo = gunTurret.gun.maxAmmo;
 }