public void Open_AI_Scanning_Panel_FUN()
 {
     for (int i = 0; i < Panels.Count; i++)
     {
         Panels[i].SetActive(false);
     }
     Home_Panel.SetActive(true);
     AI_Scanning_Panel.SetActive(true);
 }
 public void Open_RU_DoctorProfile_Panel_FUN()
 {
     for (int i = 0; i < Panels.Count; i++)
     {
         Panels[i].SetActive(false);
     }
     Home_Panel.SetActive(true);
     RU_DoctorProfile_Panel.SetActive(true);
 }
 public void Open_PatientsList_Panel_FUN()
 {
     for (int i = 0; i < Panels.Count; i++)
     {
         Panels[i].SetActive(false);
     }
     Home_Panel.SetActive(true);
     PatientList_Panel.SetActive(true);
     Pdatabase.instance.getPatient();
 }
 public void Open_Home_Panel_FUN()
 {
     for (int i = 0; i < Panels.Count; i++)
     {
         Panels[i].SetActive(false);
     }
     Home_Panel.SetActive(true);
     Dashboard_Panel.SetActive(true);
     VIEW_APPOINTMENT_POPUP.SetActive(false);
     Appointment_DB.instance.get_doc_appointments();
     Pdatabase.instance.getPatient();
 }
 public void Open_Task_Management_Panel_FUN()
 {
     for (int i = 0; i < Panels.Count; i++)
     {
         Panels[i].SetActive(false);
     }
     Home_Panel.SetActive(true);
     CRUD_Patient_Proflie_Panel.SetActive(false);
     PatientCreatedPopUp.SetActive(false);
     PatientDeletedPopUP.SetActive(false);
     PatientUpdatedPopUP.SetActive(false);
     AppointmentCreatedPopUp.SetActive(false);
     Task_Management_Panel.SetActive(true);
     //Appointment_DB.instance.get_pat_appointments();
     // Mini_Appointments_Panel.SetActive(false);
 }
Exemplo n.º 6
0
    public Transform raw_point;    //原始位置



    void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }
        if (Level_Radio.Instance.IsLevel_quit == false)
        {
            combat_Content.SetActive(false);
            list_Content.SetActive(false);
            quit_Panel.SetActive(false);
            combat_Main_Canvas.SetActive(false);
            combat_Canvas.SetActive(false);
            list_Main_Canvas.SetActive(false);
            list_Canvas.SetActive(false);
            home_Canvas.SetActive(false);
            fx.SetActive(true);
        }
        else
        {
            fx.SetActive(false);
            list_Main_Canvas.SetActive(false);

            combat_Main_Canvas.SetActive(true);
            combat_Canvas.SetActive(true);
            combat_Content.SetActive(true);
            combat_Main_Canvas.GetComponent <Image>().color = new Color(0, 0, 0, 255 / 255);
            combat_Canvas.GetComponent <Image>().DOColor(new Color(0, 0, 0, 0), 0.15f).OnComplete(() =>
            {
                Combat_Panel.instance.Open_Combat();
                combat_Canvas.SetActive(false);
            });

            Level_Radio.Instance.IsLevel_quit = false;
        }
    }