C# Class Common.RpgCamera

Inheritance: MonoBehaviour
Mostrar archivo Open project: gamemachine/gamemachine

Public Properties

Property Type Description
DisplayDebugGizmos bool
MaxDistance float
MaxPitch float
MinDistance float
MinPitch float
MouseLookButton string
MouseRotateButton string
PitchAxis string
RotationMouseSpeed float
SmoothAutoRotation bool
SmoothAutoRotationSpeed float
SmoothRotation bool
SmoothRotationSpeed float
SmoothZoom bool
SmoothZoomSpeed float
TargetOffset Common.Vector3
YawAxis string
ZoomAxis string
ZoomSpeed float
cam Common.Camera
cameraObstacles LayerMask
instance RpgCamera
target Common.Transform

Public Methods

Method Description
Awake ( ) : void
GetAxisRawSafe ( string name, float @default ) : float
GetButtonSafe ( string name, bool @default ) : bool
Initialize ( ) : void
LateUpdate ( ) : void
OnDrawGizmos ( ) : void
SignedAngle ( Common.Vector3 v1, Common.Vector3 v2, Common.Vector3 n ) : float
Update ( ) : void

Private Methods

Method Description
AvoidCollision ( Common.Vector3 point, float &closest ) : bool

Method Details

Awake() public method

public Awake ( ) : void
return void

GetAxisRawSafe() public static method

public static GetAxisRawSafe ( string name, float @default ) : float
name string
@default float
return float

GetButtonSafe() public static method

public static GetButtonSafe ( string name, bool @default ) : bool
name string
@default bool
return bool

Initialize() public method

public Initialize ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

SignedAngle() public static method

public static SignedAngle ( Common.Vector3 v1, Common.Vector3 v2, Common.Vector3 n ) : float
v1 Common.Vector3
v2 Common.Vector3
n Common.Vector3
return float

Update() public method

public Update ( ) : void
return void

Property Details

DisplayDebugGizmos public_oe property

public bool DisplayDebugGizmos
return bool

MaxDistance public_oe property

public float MaxDistance
return float

MaxPitch public_oe property

public float MaxPitch
return float

MinDistance public_oe property

public float MinDistance
return float

MinPitch public_oe property

public float MinPitch
return float

MouseLookButton public_oe property

public string MouseLookButton
return string

MouseRotateButton public_oe property

public string MouseRotateButton
return string

PitchAxis public_oe property

public string PitchAxis
return string

RotationMouseSpeed public_oe property

public float RotationMouseSpeed
return float

SmoothAutoRotation public_oe property

public bool SmoothAutoRotation
return bool

SmoothAutoRotationSpeed public_oe property

public float SmoothAutoRotationSpeed
return float

SmoothRotation public_oe property

public bool SmoothRotation
return bool

SmoothRotationSpeed public_oe property

public float SmoothRotationSpeed
return float

SmoothZoom public_oe property

public bool SmoothZoom
return bool

SmoothZoomSpeed public_oe property

public float SmoothZoomSpeed
return float

TargetOffset public_oe property

public Vector3,Common TargetOffset
return Common.Vector3

YawAxis public_oe property

public string YawAxis
return string

ZoomAxis public_oe property

public string ZoomAxis
return string

ZoomSpeed public_oe property

public float ZoomSpeed
return float

cam public_oe property

public Camera,Common cam
return Common.Camera

cameraObstacles public_oe property

public LayerMask cameraObstacles
return LayerMask

instance public_oe static_oe property

public static RpgCamera,Common instance
return RpgCamera

target public_oe property

public Transform,Common target
return Common.Transform