Example #1
0
        void Awake()
        {
            NomaiVR.Log("Start Ship Tools");

            _referenceFrameTracker = FindObjectOfType <ReferenceFrameTracker>();
            _cockpitController     = FindObjectOfType <ShipCockpitController>();
            _mapGridRenderer       = FindObjectOfType <MapController>().GetValue <MeshRenderer>("_gridRenderer").transform;
        }
Example #2
0
 internal void Awake()
 {
     _referenceFrameTracker = FindObjectOfType <ReferenceFrameTracker>();
     _cockpitController     = FindObjectOfType <ShipCockpitController>();
     _mapGridRenderer       = FindObjectOfType <MapController>().GetValue <MeshRenderer>("_gridRenderer").transform;
 }