Esempio n. 1
0
 void Awake()
 {
     particleSystem = GetComponentInChildren <ParticleSystem>();
     audioSource    = GetComponent <AudioSource>();
     weaponFx       = GetComponent <WeaponFx>();
     weaponFx.SetVisualsTo(weapon);
 }
Esempio n. 2
0
 public void SetWeaponTo(WeaponsUnlocks.Weapon weapon)
 {
     this.weapon = weapon;
     weaponFx.SetVisualsTo(weapon);
 }