C# Class SimplePlayerCamera.SimpleCamera

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: JordanStone/ExorcistForHire Class Usage Examples

Public Properties

Property Type Description
Character UnityEngine.GameObject
MainCamera UnityEngine.GameObject
MaximumX float
MinimumX float
XSensitivity float
YSensitivity float
clampVerticalRotation bool
smooth bool
smoothTime float

Public Methods

Method Description
ChangeX ( ) : void
ChangeY ( ) : void
Start ( ) : void
UpdateFreeCamera ( ) : void
UpdateHorizontalCamera ( ) : void
UpdateVerticalCamera ( ) : void

Private Methods

Method Description
ClampRotationAroundXAxis ( Quaternion q ) : Quaternion

Method Details

ChangeX() public method

public ChangeX ( ) : void
return void

ChangeY() public method

public ChangeY ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateFreeCamera() public method

public UpdateFreeCamera ( ) : void
return void

UpdateHorizontalCamera() public method

public UpdateHorizontalCamera ( ) : void
return void

UpdateVerticalCamera() public method

public UpdateVerticalCamera ( ) : void
return void

Property Details

Character public_oe property

public GameObject,UnityEngine Character
return UnityEngine.GameObject

MainCamera public_oe property

public GameObject,UnityEngine MainCamera
return UnityEngine.GameObject

MaximumX public_oe property

public float MaximumX
return float

MinimumX public_oe property

public float MinimumX
return float

XSensitivity public_oe property

public float XSensitivity
return float

YSensitivity public_oe property

public float YSensitivity
return float

clampVerticalRotation public_oe property

public bool clampVerticalRotation
return bool

smooth public_oe property

public bool smooth
return bool

smoothTime public_oe property

public float smoothTime
return float