Exemplo n.º 1
0
 // Ensure that the instance is destroyed when the game is stopped in the editor.
 void OnApplicationQuit()
 {
     if (tuioInput != null)
     {
         tuioInput.collectEvents = false;
         tuioInput.disconnect();
     }
 }
Exemplo n.º 2
0
 // Ensure that the instance is destroyed when the game is stopped in the editor.
 void OnApplicationQuit()
 {
     if (tuioInput != null)
     {
         tuioInput.eventDelegate = null;
         tuioInput.disconnect();
     }
 }
Exemplo n.º 3
0
    // Ensure that the instance is destroyed when the game is stopped in the editor.
    void OnApplicationQuit()
    {
        if (tuioInput != null)
        {
            tuioInput.collectEvents = false;
            tuioInput.disconnect();
//			print ("disconnection from tuio");
        }
    }