Beispiel #1
0
 public void SwitchWeapons()
 {
     if (m_EquipedWeapon == m_PrimaryWeapon)
     {
         m_EquipedWeapon = m_SecondaryWeapon;
     }
     else
     {
         m_EquipedWeapon = m_PrimaryWeapon;
     }
 }
Beispiel #2
0
 public void Initialize()
 {
     if (m_PrimaryWeapon != null)
     {
         m_EquipedWeapon = m_PrimaryWeapon;
     }
     else
     {
         m_EquipedWeapon = m_SecondaryWeapon;
     }
 }