コード例 #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);
            }
        }
コード例 #2
0
 private void AccessoriesApi_SelectedMakerAccSlotChanged(object sender, AccessorySlotEventArgs e)
 {
     if (MakerAPI.InsideAndLoaded)
     {
         if (UI.Visible)
         {
             UI.ShowUI(0);
         }
         UI.ToggleButtonVisibility();
     }
 }