HapticsModule
Provides haptic feedback related functionality
| Type | Name | Interface Description |
|---|---|---|
| Static Functions | triggerVibration(duration?: number, strength?: number, frequency?: number): void | • Function: Triggers device vibration Parameters • • • |
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use HapticsModule here
}
onUpdate(deltaTime: number) {
}
}