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
Vibration
singleton class - Added
IsVibrateSupported()
method to main.jslib
- Added
repeat
parameter 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
AndroidBuild
to 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.cs
class - Refactoring on
Samples/VibrationExample
to consider use WebGL implementations as well
[ScriptableObject] Fallback if not pass options in inspector
- If
options
is not defined onVibrationComponent
, create aScriptableObject
instance under the hood - Avoid compiler errors to PC, when use
Handheld
Unity 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.sh
with extra local functions to be called fromnpm scripts
publishing automations - Updated
README.md
with installation and publishing steps from OpenUPM and Github packages remote registries