// Use this for initialization void Start() { eventQueue = new ArrayList(); eventQueueLock = new Object(); activeEvents = new Dictionary <long, ibheTuioEvent>(100); activeObjects = new Dictionary <long, GameObject>(100); didChange = false; tuioInput = new ibheTuioConnector(); tuioInput.collectEvents = true; //cameraPixelWidth = Camera.main.pixelWidth; //cameraPixelHeight = Camera.main.pixelHeight; cameraPixelWidth = 13.33333333333333F; cameraPixelHeight = 10; Debug.Log("Screen Width: " + cameraPixelWidth + " Screen Height: " + cameraPixelHeight); xTCalib = 0.0F; yTCalib = 0.0F; }
// Use this for initialization void Start() { eventQueue = new ArrayList(); eventQueueLock = new Object(); activeEvents = new Dictionary<long,ibheTuioEvent>(100); activeObjects = new Dictionary<long, GameObject>(100); didChange = false; tuioInput = new ibheTuioConnector(); tuioInput.collectEvents = true; //cameraPixelWidth = Camera.main.pixelWidth; //cameraPixelHeight = Camera.main.pixelHeight; cameraPixelWidth = 13.33333333333333F; cameraPixelHeight = 10; Debug.Log("Screen Width: " + cameraPixelWidth + " Screen Height: " + cameraPixelHeight); xTCalib = 0.0F; yTCalib = 0.0F; }