Ejemplo n.º 1
0
    public void ActiveSelectionPanel(string id, string ip)
    {
        if (id == My_Profile.UserName)
        {
            if (ip == "1")
            {
                WaitingForSelect_SelectionPanel.SetActive(true);

                //Active My Choosing Panel
            }
            else if (ip == "0")
            {
                WaitingForSelect_SelectionPanel.SetActive(false);
                //DeActive Panel
            }
        }
        else
        {
            if (ip == "1")
            {
                //waitingslider.value -= Time.deltaTime;
                WaitingForSelect_Panel.SetActive(true);
                //Active My Waiting Panel
            }
            else if (ip == "0")
            {
                WaitingForSelect_Panel.SetActive(false);
                //DeActive Panel
            }
            // StartCoroutine(SetRPCCallforChoosing())
        }
    }
Ejemplo n.º 2
0
 IEnumerator GameInit()
 {
     WaitingForSelect_SelectionPanel.SetActive(false);
     WaitingForSelect_Panel.SetActive(false);
     yield return(new WaitForSeconds(2));
     //Active Panel
     //Active Chat
     //Active Timer
 }