Exemplo n.º 1
0
        internal void AccessoryKindChangeEvent(object sender, AccessorySlotEventArgs e)
        {
            AccessoryDynamicBoneData.RemoveAll(x => x.CoordinateIndex == CurrentCoordinateIndex && x.Slot == e.SlotIndex);

            if (MakerAPI.InsideAndLoaded && UI.Visible)
            {
                UI.ShowUI(0);
            }
        }
Exemplo n.º 2
0
 private void AccessoriesApi_SelectedMakerAccSlotChanged(object sender, AccessorySlotEventArgs e)
 {
     if (MakerAPI.InsideAndLoaded)
     {
         if (UI.Visible)
         {
             UI.ShowUI(0);
         }
         UI.ToggleButtonVisibility();
     }
 }