コード例 #1
0
 // Token: 0x0600387A RID: 14458 RVA: 0x00198E10 File Offset: 0x00197210
 public static void close()
 {
     if (!PlayerDashboardUI.active)
     {
         return;
     }
     PlayerDashboardUI.active = false;
     if (PlayerDashboardInventoryUI.active)
     {
         PlayerDashboardInventoryUI.close();
         PlayerDashboardInventoryUI.active = true;
     }
     else if (PlayerDashboardCraftingUI.active)
     {
         PlayerDashboardCraftingUI.close();
         PlayerDashboardCraftingUI.active = true;
     }
     else if (PlayerDashboardSkillsUI.active)
     {
         PlayerDashboardSkillsUI.close();
         PlayerDashboardSkillsUI.active = true;
     }
     else if (PlayerDashboardInformationUI.active)
     {
         PlayerDashboardInformationUI.close();
         PlayerDashboardInformationUI.active = true;
     }
     PlayerDashboardUI.container.lerpPositionScale(0f, -1f, ESleekLerp.EXPONENTIAL, 20f);
 }
コード例 #2
0
 // Token: 0x0600387E RID: 14462 RVA: 0x00198F38 File Offset: 0x00197338
 private static void onClickedInformationButton(SleekButton button)
 {
     PlayerDashboardInventoryUI.close();
     PlayerDashboardCraftingUI.close();
     PlayerDashboardSkillsUI.close();
     if (PlayerDashboardInformationUI.active)
     {
         PlayerDashboardUI.close();
         PlayerLifeUI.open();
     }
     else
     {
         PlayerDashboardInformationUI.open();
     }
 }