예제 #1
0
 protected void RefreshTitleTexture()
 {
     if (flightCameraFilter != null && MovieTimeFilter.LoadedScene() == MovieTimeFilter.eFilterType.Flight)
     {
         flightCameraFilter.RefreshTitleTexture();
     }
 }
예제 #2
0
 private void LateUpdate()
 {
     if (flightCameraFilter != null && MovieTimeFilter.LoadedScene() == MovieTimeFilter.eFilterType.Flight)
     {
         flightCameraFilter.LateUpdate();
     }
 }
예제 #3
0
 public void SetCameraMode(CameraFilter.eCameraMode mode)
 {
     if (flightCameraFilter != null && MovieTimeFilter.LoadedScene() == MovieTimeFilter.eFilterType.Flight)
     {
         flightCameraFilter.SetMode(mode);
     }
 }
예제 #4
0
 private CameraFilter.eCameraMode GetCameraMode()
 {
     if (flightCameraFilter != null && MovieTimeFilter.LoadedScene() == MovieTimeFilter.eFilterType.Flight)
     {
         return(flightCameraFilter.GetMode());
     }
     return(CameraFilter.eCameraMode.Normal);
 }
예제 #5
0
        public void Start()
        {
            guiStyle.fontSize = 20;

            flightCameraFilter = CreateFilter(FlightCamera.fetch.mainCamera);

            if (flightCameraFilter != null)
            {
                flightCameraFilter.Initialize("Flight", MovieTimeFilter.eFilterType.Flight);
            }

            RefreshTitleTexture();
        }
예제 #6
0
 public MovieTimeFilter CreateFilter(Camera camera)
 {
     if (camera != null)
     {
         MovieTimeFilter retVal = camera.gameObject.GetComponent <MovieTimeFilter>();
         if (retVal == null)
         {
             camera.gameObject.AddComponent <MovieTimeFilter>();
             retVal = camera.gameObject.GetComponent <MovieTimeFilter>();
         }
         return(retVal);
     }
     return(null);
 }
예제 #7
0
        public void Start()
        {
            guiStyle.fontSize = 20;

            flightCameraFilter = CreateFilter(FlightCamera.fetch.mainCamera);

            if (flightCameraFilter != null)
            {
                flightCameraFilter.Initialize("Flight", MovieTimeFilter.eFilterType.Flight);
            }

            RefreshTitleTexture();

            //get localization strings
            locTarget      = Localizer.Format("#autoLOC_HULL_DOCK_001");
            locRelVelocity = Localizer.Format("#autoLOC_HULL_DOCK_002");
        }