示例#1
0
 private void Awake()
 {
     rotator         = GetComponent <IRotatable> ();
     shooting        = GetComponent <IShooting> ();
     magazineManager = GetComponent <IWeaponMagazineManager> ();
     magazineManager.Initialize(stats);
     shooting.Initialize(stats);
 }
 void Awake()
 {
     cameraShake     = GameObject.Find("CameraShake").GetComponent <CameraShake> ();
     magazineManager = GetComponent <IWeaponMagazineManager>();
 }