Ejemplo n.º 1
0
    void Start()
    {
        // manager
        trackingManager = GetComponent <TrackingManager>();
        drawingManager  = GetComponent <DrawingManager>();
        uiManager       = GetComponent <UIManager>();

        // setup manager
        trackingManager.DoStart(this);
        drawingManager.DoStart(oDrawingPath);
        uiManager.DoStart(this, oDrawingPath, GameObject.FindGameObjectWithTag("DefaultCursor"));
        subMenuScrollController.DoStart(this, 1, 1);

        // reset mode
        ChangeMode(ModeStatus.Drawing);

        // reset sub menu

        // fps
        StartCoroutine(CalculateFps());
    }