示例#1
0
        //private Vector3 _estAccel = Vector3.zero;
        public MainBehaviour()
        {
            // get camera 0 this is the scaled space camera that is active in both flight and mapview
            _mainCam = Camera.allCameras[0];

            _headingMarker = new HeadingMarker();
            _zenithLines = new ZenithLines();
            _azimuthLines = new AzimuthLines();
            _targetAlignmentMarker = new TargetAlignmentMarker();
            _markers = new Markers();
            _waypointMarker = new WaypointMarker();
            _edgeMarkers = new EdgeMarkers();
        }
示例#2
0
        //private Vector3 _estAccel = Vector3.zero;

        public MainBehaviour()
        {
            // get camera 0 this is the scaled space camera that is active in both flight and mapview
            _mainCam = Camera.allCameras[0];

            _headingMarker         = new HeadingMarker();
            _zenithLines           = new ZenithLines();
            _azimuthLines          = new AzimuthLines();
            _targetAlignmentMarker = new TargetAlignmentMarker();
            _markers = new Markers();
            //_waypointMarker = new WaypointMarker(); // Broken 1.1.3 waypoint code
            _edgeMarkers = new EdgeMarkers();
        }