Releases: mfdeveloper/Vibration
Releases · mfdeveloper/Vibration
[UPM] Package embedded structure
UPM embedded project structure for testing and play sample scenes.
Additionally, were did some refactorings and new implementations (specially for Android and WebGL )
[VSCode]
- Migrate to use the new extension "visualstudiotoolsforunity.vstuc"
- Added a default Unity editor debug configuration to
.vscode/launch.json
[WebGL]
- Refactoring to a more "vanilla" Javascript approach using a
Vibrationsingleton class - Added
IsVibrateSupported()method to main.jslib - Added
repeatparameter toVibrateWithPattern()method on main.jslib - Added a package.json file to the root embedded Unity project, to run and test WebGL builds
[Android]
- Added a generic static C# class for
AndroidBuildto get Android API level
[Unity/C#]
- Refactorings to better accomplish the scene example script
VibrationExample.cs - Added Editor unit tests in order to test
MobileTimeUnit.csclass - Refactoring on
Samples/VibrationExampleto consider use WebGL implementations as well
[ScriptableObject] Fallback if not pass options in inspector
- If
optionsis not defined onVibrationComponent, create aScriptableObjectinstance under the hood - Avoid compiler errors to PC, when use
HandheldUnity class, that is specific for mobile builds
[ScriptableObject] Fix json serialization error
Change JsonUtility.FromJson() method to JsonUtility.FromJsonOverwrite() when try serialize a ScriptableObject. The first one throws a exception.
[Storage] Use ScriptableObject to flexible save/load vibration config
[First Release] Upm package
[OpenUPM/Github Packages] Publish packages in public registries
Published this package to public registries:
- OpenUPM: packages/com.benoitfreslon.vibration
- Github Package: mfdeveloper/com.benoitfreslon.vibration
Also, include some extra modifications:
CHANGED
- Refactoring in
.github/scripts/functions.shwith extra local functions to be called fromnpm scriptspublishing automations - Updated
README.mdwith installation and publishing steps from OpenUPM and Github packages remote registries

