C# Class CameraFocusChanger.CameraFocusChanger

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: zentarul/camerafocuschanger Class Usage Examples

Public Methods

Method Description
FocusOn ( Transform transform ) : void
ResetFocus ( ) : void

Private Methods

Method Description
CheckForVesselChanged ( ) : void
DebugPrint ( string text ) : void
GetTransform ( ) : Transform
OnCameraChange ( CameraManager cameraMode ) : void
OnDestroy ( ) : void
OnStageSeparation ( EventReport report ) : void
OnUndock ( EventReport report ) : void
OnVesselChange ( Vessel vessel ) : void
OnVesselGoOnRails ( Vessel vessel ) : void
OnVesselWillDestroy ( Vessel vessel ) : void
Start ( ) : void
Update ( ) : void
UpdateFocus ( ) : void

Method Details

FocusOn() public method

public FocusOn ( Transform transform ) : void
transform UnityEngine.Transform
return void

ResetFocus() public method

public ResetFocus ( ) : void
return void