Skip to content

Releases: mfdeveloper/Vibration

[UPM] Package embedded structure

04 Oct 07:44
Compare
Choose a tag to compare

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 to VibrateWithPattern() 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

13 Jun 21:13
Compare
Choose a tag to compare
  • If options is not defined on VibrationComponent, create a ScriptableObject 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

13 Jun 19:16
Compare
Choose a tag to compare

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

10 Jun 22:23
Compare
Choose a tag to compare

Now, is using ScriptableObject + PlayerPrefs to read the stored JSON configuration vibration. Any derived class from Options is serialized.

imagem

[First Release] Upm package

10 Jun 02:25
Compare
Choose a tag to compare

Added new component to configure and use vibration with others packages/libraries

imagem

[OpenUPM/Github Packages] Publish packages in public registries

06 Oct 12:37
Compare
Choose a tag to compare

Published this package to public registries:

Also, include some extra modifications:

CHANGED

  • Refactoring in .github/scripts/functions.sh with extra local functions to be called from npm scripts publishing automations
  • Updated README.md with installation and publishing steps from OpenUPM and Github packages remote registries