コード例 #1
0
ファイル: MainBehaviour.cs プロジェクト: plague006/NavHud
        //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
ファイル: MainBehaviour.cs プロジェクト: taniwha/NavHud
        //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();
        }