Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        eventQueue = new ArrayList();
        eventQueueLock = new Object();
        activeEvents = new Dictionary<long,mtCntrEvent>(100);
        activeObjects = new Dictionary<long, GameObject>(100);

        didChange = false;
        tuioInput = new mtCntrConnector();
        tuioInput.collectEvents = true;
        //cameraPixelWidth = Camera.main.pixelWidth;
        //cameraPixelHeight = Camera.main.pixelHeight;
        cameraPixelWidth = 13.3F;
        cameraPixelHeight = 10;
        Debug.Log("Screen Width: " + cameraPixelWidth + " Screen Height: " + cameraPixelHeight);
        xTCalib = 0.0F;
        yTCalib = 0.0F;
    }