C# Class HeroCamera, source

Inheritance: MonoBehaviour
Mostra file Open project: unityosgt/source Class Usage Examples

Public Properties

Property Type Description
cam Transform
camState CameraState,
collisionLayers LayerMask
fpsCamDist float
headBone Transform
heroDistance float
heroHeight float
maxDistance float
minDistance float
offsetFromWall float
rotationDampening float
xSpeed float
ySpeed float
zoomDampening float
zoomRate int

Public Methods

Method Description
DoClimb ( string s ) : void
FirstPerson ( ) : void
LateUpdate ( ) : void
Orbit ( ) : void
Start ( ) : void
ThirdPerson ( ) : void
Update ( ) : void

Private Methods

Method Description
ClampAngle ( float angle, float min, float max ) : float

Method Details

DoClimb() public method

public DoClimb ( string s ) : void
s string
return void

FirstPerson() public method

public FirstPerson ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

Orbit() public method

public Orbit ( ) : void
return void

Start() public method

public Start ( ) : void
return void

ThirdPerson() public method

public ThirdPerson ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

cam public_oe property

public Transform cam
return Transform

camState public_oe property

public CameraState, camState
return CameraState,

collisionLayers public_oe property

public LayerMask collisionLayers
return LayerMask

fpsCamDist public_oe property

public float fpsCamDist
return float

headBone public_oe property

public Transform headBone
return Transform

heroDistance public_oe property

public float heroDistance
return float

heroHeight public_oe property

public float heroHeight
return float

maxDistance public_oe property

public float maxDistance
return float

minDistance public_oe property

public float minDistance
return float

offsetFromWall public_oe property

public float offsetFromWall
return float

rotationDampening public_oe property

public float rotationDampening
return float

xSpeed public_oe property

public float xSpeed
return float

ySpeed public_oe property

public float ySpeed
return float

zoomDampening public_oe property

public float zoomDampening
return float

zoomRate public_oe property

public int zoomRate
return int