Esempio n. 1
0
 void Start()
 {
     LoginUrl = "1";
     CreateUrl = "12";
     temp = "";
     client = new ClientSok();
     client.connect();
 }
Esempio n. 2
0
    // Start is called before the first frame update
    void Start()
    {
        GameObject myCharacter = Instantiate(character, transform.position, transform.rotation);

        //followCamera.GetComponent<CinemachineVirtualCamera>().Follow = myCharacter.transform;

        client = new ClientSok();
        client.connect();
        if (thread == null)
        {
            thread = new Thread(RunThread);
            thread.Start();
        }
    }