C# Class TBDragView, swip3

Inheritance: MonoBehaviour
Mostra 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_oe property

public bool allowUserInput
return bool

dragAcceleration public_oe property

public float dragAcceleration
return float

dragDeceleration public_oe property

public float dragDeceleration
return float

idealRotationSmoothingSpeed public_oe property

public float idealRotationSmoothingSpeed
return float

maxPitchAngle public_oe property

public float maxPitchAngle
return float

minPitchAngle public_oe property

public float minPitchAngle
return float

reverseControls public_oe property

public bool reverseControls
return bool

sensitivity public_oe property

public float sensitivity
return float