C# Class TBDragView, swip3

Inheritance: MonoBehaviour
Show file Open project: unit9/swip3 Class Usage Examples

Public Properties

Property Type Description
allowUserInput bool
dragAcceleration float
dragDeceleration float
idealRotationSmoothingSpeed float
maxPitchAngle float
minPitchAngle float
reverseControls bool
sensitivity float

Public Methods

Method Description
Awake ( ) : void
LookAt ( Vector3 pos ) : void
OnDrag ( DragGesture gesture ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
NormalizePitch ( float angle ) : float

Method Details

Awake() public method

public Awake ( ) : void
return void

LookAt() public method

public LookAt ( Vector3 pos ) : void
pos Vector3
return void

OnDrag() public method

public OnDrag ( DragGesture gesture ) : void
gesture DragGesture
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

allowUserInput public property

public bool allowUserInput
return bool

dragAcceleration public property

public float dragAcceleration
return float

dragDeceleration public property

public float dragDeceleration
return float

idealRotationSmoothingSpeed public property

public float idealRotationSmoothingSpeed
return float

maxPitchAngle public property

public float maxPitchAngle
return float

minPitchAngle public property

public float minPitchAngle
return float

reverseControls public property

public bool reverseControls
return bool

sensitivity public property

public float sensitivity
return float