|
virtual void | TriggerDefault () |
| The following methods are bound (via the inspector) to buttons in the demo scene, and will call the corresponding vibration methods More...
|
|
virtual void | TriggerVibrate () |
| Triggers the default Vibrate method, which will result in a medium vibration on Android and a medium impact on iOS More...
|
|
virtual void | TriggerSelection () |
| Triggers the selection haptic feedback, a light vibration on Android, and a light impact on iOS More...
|
|
virtual void | TriggerSuccess () |
| Triggers the success haptic feedback, a light then heavy vibration on Android, and a success impact on iOS More...
|
|
virtual void | TriggerWarning () |
| Triggers the warning haptic feedback, a heavy then medium vibration on Android, and a warning impact on iOS More...
|
|
virtual void | TriggerFailure () |
| Triggers the failure haptic feedback, a medium / heavy / heavy / light vibration pattern on Android, and a failure impact on iOS More...
|
|
virtual void | TriggerLightImpact () |
| Triggers a light impact on iOS and a short and light vibration on Android. More...
|
|
virtual void | TriggerMediumImpact () |
| Triggers a medium impact on iOS and a medium and regular vibration on Android. More...
|
|
virtual void | TriggerHeavyImpact () |
| Triggers a heavy impact on iOS and a long and heavy vibration on Android. More...
|
|
|
Text | DebugTextBox |
| a text object in the demo scene in which debug information will be displayed More...
|
|
|
virtual void | Awake () |
| On Awake, we initialize our iOS haptics. Of course, this only needs to be done when on iOS, or targeting iOS. A test will be done and this method will do nothing if running on anything else More...
|
|
virtual void | Start () |
| On Start, we display our debug information More...
|
|
virtual void | DisplayInformation () |
| Displays the debug information (API version on Android, iOS sdk version, and error message otherwise) More...
|
|
virtual void | OnDisable () |
| On Disable, we release our iOS haptics (to save memory and avoid garbage). Of course, this only needs to be done when on iOS, or targeting iOS. A test will be done and this method will do nothing if running on anything else More...
|
|
◆ Awake()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.Awake |
( |
| ) |
|
|
protectedvirtual |
On Awake, we initialize our iOS haptics. Of course, this only needs to be done when on iOS, or targeting iOS. A test will be done and this method will do nothing if running on anything else
◆ DisplayInformation()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.DisplayInformation |
( |
| ) |
|
|
protectedvirtual |
Displays the debug information (API version on Android, iOS sdk version, and error message otherwise)
◆ OnDisable()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.OnDisable |
( |
| ) |
|
|
protectedvirtual |
On Disable, we release our iOS haptics (to save memory and avoid garbage). Of course, this only needs to be done when on iOS, or targeting iOS. A test will be done and this method will do nothing if running on anything else
◆ Start()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.Start |
( |
| ) |
|
|
protectedvirtual |
On Start, we display our debug information
◆ TriggerDefault()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerDefault |
( |
| ) |
|
|
virtual |
The following methods are bound (via the inspector) to buttons in the demo scene, and will call the corresponding vibration methods
Triggers the default Unity vibration, without any control over duration, pattern or amplitude
◆ TriggerFailure()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerFailure |
( |
| ) |
|
|
virtual |
Triggers the failure haptic feedback, a medium / heavy / heavy / light vibration pattern on Android, and a failure impact on iOS
◆ TriggerHeavyImpact()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerHeavyImpact |
( |
| ) |
|
|
virtual |
Triggers a heavy impact on iOS and a long and heavy vibration on Android.
◆ TriggerLightImpact()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerLightImpact |
( |
| ) |
|
|
virtual |
Triggers a light impact on iOS and a short and light vibration on Android.
◆ TriggerMediumImpact()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerMediumImpact |
( |
| ) |
|
|
virtual |
Triggers a medium impact on iOS and a medium and regular vibration on Android.
◆ TriggerSelection()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerSelection |
( |
| ) |
|
|
virtual |
Triggers the selection haptic feedback, a light vibration on Android, and a light impact on iOS
◆ TriggerSuccess()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerSuccess |
( |
| ) |
|
|
virtual |
Triggers the success haptic feedback, a light then heavy vibration on Android, and a success impact on iOS
◆ TriggerVibrate()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerVibrate |
( |
| ) |
|
|
virtual |
Triggers the default Vibrate method, which will result in a medium vibration on Android and a medium impact on iOS
◆ TriggerWarning()
virtual void MoreMountains.NiceVibrations.NiceVibrationsDemoManager.TriggerWarning |
( |
| ) |
|
|
virtual |
Triggers the warning haptic feedback, a heavy then medium vibration on Android, and a warning impact on iOS
◆ _CURRENTVERSION
const string MoreMountains.NiceVibrations.NiceVibrationsDemoManager._CURRENTVERSION = "1.7" |
|
staticprotected |
◆ _debugString
string MoreMountains.NiceVibrations.NiceVibrationsDemoManager._debugString |
|
protected |
◆ _platformString
string MoreMountains.NiceVibrations.NiceVibrationsDemoManager._platformString |
|
protected |
◆ DebugTextBox
Text MoreMountains.NiceVibrations.NiceVibrationsDemoManager.DebugTextBox |
a text object in the demo scene in which debug information will be displayed
The documentation for this class was generated from the following file: