예제 #1
0
 private void SetEquipInfo()
 {
     primaryWpnPoint.SetInfo(player.GetEquipment(EquipmentSlot.PrimaryWeapon));
     secondaryWpnPoint.SetInfo(player.GetEquipment(EquipmentSlot.SecondaryWeapon));
     supportPoint.SetInfo(player.GetEquipment(EquipmentSlot.Support));
     primaryModPoint.SetInfo(player.GetEquipment(EquipmentSlot.PrimaryMod));
     secondaryModPoint.SetInfo(player.GetEquipment(EquipmentSlot.SecondaryMod));
 }
    private void SetEquipment()
    {
        primaryWpn   = (Weapon)player.GetEquipment(EquipmentSlot.PrimaryWeapon);
        secondaryWpn = (Weapon)player.GetEquipment(EquipmentSlot.SecondaryWeapon);
        supportEquip = (SupportEquipment)player.GetEquipment(EquipmentSlot.Support);

        primaryWpn.SetTurretPosition(turret);
        secondaryWpn.SetTurretPosition(turret);
    }