C# Class TBDragView, swip3

Inheritance: MonoBehaviour
Afficher le fichier Open project: unit9/swip3 Class Usage Examples

Méthodes publiques

Свойство Type Description
allowUserInput bool
dragAcceleration float
dragDeceleration float
idealRotationSmoothingSpeed float
maxPitchAngle float
minPitchAngle float
reverseControls bool
sensitivity float

Méthodes publiques

Méthode Description
Awake ( ) : void
LookAt ( Vector3 pos ) : void
OnDrag ( DragGesture gesture ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
NormalizePitch ( float angle ) : float

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

LookAt() public méthode

public LookAt ( Vector3 pos ) : void
pos Vector3
Résultat void

OnDrag() public méthode

public OnDrag ( DragGesture gesture ) : void
gesture DragGesture
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

allowUserInput public_oe property

public bool allowUserInput
Résultat bool

dragAcceleration public_oe property

public float dragAcceleration
Résultat float

dragDeceleration public_oe property

public float dragDeceleration
Résultat float

idealRotationSmoothingSpeed public_oe property

public float idealRotationSmoothingSpeed
Résultat float

maxPitchAngle public_oe property

public float maxPitchAngle
Résultat float

minPitchAngle public_oe property

public float minPitchAngle
Résultat float

reverseControls public_oe property

public bool reverseControls
Résultat bool

sensitivity public_oe property

public float sensitivity
Résultat float