C# Class SimpleSmoothMouseLook

Inheritance: MonoBehaviour
Show file Open project: DiUS/3DiUS Class Usage Examples

Public Properties

Property Type Description
characterBody GameObject
clampInDegrees Vector2
lockCursor bool
sensitivity Vector2
smoothing Vector2
targetCharacterDirection Vector2
targetDirection Vector2

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Property Details

characterBody public property

public GameObject characterBody
return GameObject

clampInDegrees public property

public Vector2 clampInDegrees
return Vector2

lockCursor public property

public bool lockCursor
return bool

sensitivity public property

public Vector2 sensitivity
return Vector2

smoothing public property

public Vector2 smoothing
return Vector2

targetCharacterDirection public property

public Vector2 targetCharacterDirection
return Vector2

targetDirection public property

public Vector2 targetDirection
return Vector2