示例#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();
     }
 }
示例#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();
     }
 }
示例#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");
        }
    }