public Trigger SetMainToSlotOne() { if (ActiveMainTriggerIndex != 0) { ActiveMainTrigger.Unequip(); ActiveMainTriggerIndex = 0; ActiveMainTrigger = MainTrigger[ActiveMainTriggerIndex]; ActiveMainTrigger.Equip(); } return(ActiveMainTrigger); }
public Trigger SetMainToSlotTwo() { if (ActiveMainTriggerIndex != 1) { ActiveMainTrigger.Unequip(); ActiveMainTriggerIndex = 1; ActiveMainTrigger = MainTrigger[ActiveMainTriggerIndex]; ActiveMainTrigger.Equip(); } return(ActiveMainTrigger); }
public Trigger SetMainToSlotFour() { if (ActiveMainTriggerIndex != 3) { ActiveMainTrigger.Unequip(); ActiveMainTriggerIndex = 3; ActiveMainTrigger = MainTrigger[ActiveMainTriggerIndex]; ActiveMainTrigger.Equip(); } return(ActiveMainTrigger); }
public Trigger SetMainToSlotThree() { if (ActiveMainTriggerIndex != 2) { ActiveMainTrigger.Unequip(); ActiveMainTriggerIndex = 2; ActiveMainTrigger = MainTrigger[ActiveMainTriggerIndex]; ActiveMainTrigger.Equip(); } return(ActiveMainTrigger); }
public Trigger ToggleLeftMainTrigger() { ActiveMainTrigger.Unequip(); ActiveMainTriggerIndex--; if (ActiveMainTriggerIndex == -1) { ActiveMainTriggerIndex = 3; } ActiveMainTrigger = MainTrigger[ActiveMainTriggerIndex]; ActiveMainTrigger.Equip(); return(ActiveMainTrigger); }
// Main Trigger Functions public Trigger ToggleRightMainTrigger() { ActiveMainTrigger.Unequip(); ActiveMainTriggerIndex++; if (ActiveMainTriggerIndex == 4) { ActiveMainTriggerIndex = 0; } ActiveMainTrigger = MainTrigger[ActiveMainTriggerIndex]; ActiveMainTrigger.Equip(); return(ActiveMainTrigger); }
public void EquipCurrentMain() { ActiveMainTrigger.Equip(); }