TexeL

Untitled

Apr 28th, 2012
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. public class TUIOServerLauncher : MonoBehaviour
  4. {
  5.     public bool Engage;
  6.     public string param = "TrippleA";
  7.    
  8.     void Start()
  9.     {
  10.         if (Engage)
  11.         {
  12.             var path = Application.dataPath + "/Touch2Tuio.exe " + param;
  13.             Application.OpenURL(path);
  14.             //guiText.text = path;
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment