示例#1
0
 //Evento onTick
 private void TimerSystem_onTick(object sender, System.EventArgs e)
 {
     //Vê se podesse conectar com o server
     if (StartClient)
     {
         //Função feita para conectar e mandar uma imagem 500x300 para o python
         GetImag.TakeImage_S(500, 300);
     }
 }
 void Start()
 {
     instance = this;
     mycamera = gameObject.GetComponent <Camera>();
 }