Пример #1
0
 //需要改名字
 public void ShowDetailPanel()
 {
     if (GC.SelectMode == 4)
     {
         GC.CurrentEmpInfo = DetailInfo;
         GC.SC.ConfirmPanel.SetActive(true);
     }
     else if (GC.SelectMode == 5)
     {
         GC.CurrentEmpInfo = DetailInfo;
         GC.CurrentOffice.BuildingActive();
     }
     else if (GC.SelectMode == 6)
     {
         if (GC.CEOSkillNum == 4)
         {
             emp.Mentality += 10;
         }
         else if (GC.CEOSkillNum == 5)
         {
             GC.CurrentEmpInfo = this;
             GC.EmpTrainingPanel.SetActive(true);
         }
         GC.CEOSkillConfirm();
     }
     else
     {
         DetailInfo.ShowPanel();
     }
 }
Пример #2
0
 public void ShowDetailPanel()
 {
     InfoDetail.ShowPanel();
 }