SetParams() public method

public SetParams ( CameraParams param ) : void
param CameraParams
return void
コード例 #1
0
 public void Disable(CameraParams cameraParams)
 {
     if (IsEnabled)
     {
         cameraParams.SetParams (savedParams);
         IsEnabled = false;
     }
 }
コード例 #2
0
 public void UpdateParams(CameraParams cameraParams)
 {
     if (IsInterpolating)
     {
         interpolator.Update (Time.deltaTime);
         cameraParams.SetParams (interpolator.CurrentParams);
         sourceParams.SetParams (cameraParams);
     }
 }
コード例 #3
0
 public void Enable(CameraParams cameraParams)
 {
     if (!IsEnabled)
     {
         savedParams = new CameraParams(cameraParams);
         cameraParams.SetParams (param);
         IsEnabled = true;
     }
 }