Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        DiagnosticsTextMesh = DiagnosticsText.GetComponent <TextMesh>();
        Driver = EFPContainer.GetComponent <EFPDriver>();

        StopWatch.Start();
    }
Exemplo n.º 2
0
    private int nonCollisionLayer = 5; //layer to not to be intersected in a raycast (5 = UI)

    // Use this for initialization
    void Start()
    {
        Driver  = EFPContainer.GetComponent <EFPDriver>();
        GazeMan = InputManager.GetComponent <GazeManager>();
        //GazeMan.RaycastLayerMasks = new LayerMask[] { ~nonCollisionLayer };

        hitPos        = new Vector3(0.0f, 0.0f, 0.0f); //initialize position of hit
        InfoDisp.text = "";
    }
Exemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        // gather static dependenices
        Driver              = EFPContainer.GetComponent <EFPDriver>();
        Observer            = EFPContainer.GetComponent <SpatialMappingObserver>();
        DiagnosticsTextMesh = DiagText.GetComponent <TextMesh>();

        StopWatch.Start();
    }
Exemplo n.º 4
0
    // Use this for initialization
    void Start()
    {
        // gather static dependenices
        Driver = EFPContainer.GetComponent <EFPDriver>();

        BoardExists = DefaultToShow;
        if (ShowBoard)
        {
            CreateDiagnostics();
        }

        StopWatch.Start();
    }