コード例 #1
0
 public void SetWeapon(BBWeapon weapon)
 {
     foreach (BBWeapon w in weapons)
     {
         w.gameObject.SetActive(w == weapon);
     }
     currentWeapon = weapon;
 }
コード例 #2
0
 internal void Setup()
 {
     currentWeapon = weapons[weapons.Count - 1];
     NextWeapon();
 }