// Use this for initialization void Start() { DiagnosticsTextMesh = DiagnosticsText.GetComponent <TextMesh>(); Driver = EFPContainer.GetComponent <EFPDriver>(); StopWatch.Start(); }
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 = ""; }
// Use this for initialization void Start() { // gather static dependenices Driver = EFPContainer.GetComponent <EFPDriver>(); Observer = EFPContainer.GetComponent <SpatialMappingObserver>(); DiagnosticsTextMesh = DiagText.GetComponent <TextMesh>(); StopWatch.Start(); }
// Use this for initialization void Start() { // gather static dependenices Driver = EFPContainer.GetComponent <EFPDriver>(); BoardExists = DefaultToShow; if (ShowBoard) { CreateDiagnostics(); } StopWatch.Start(); }