Closed fingerx closed 5 years ago
This modification doesn't work; It's not enough to change the file path.
If you'd like to dynamically add a HapPlayer component, I recommend using the Open
method as shown in the ScriptingTest.cs example. You can add the second argument to enable the LocalFileSystem
mode.
var player = gameObject.AddComponent<HapPlayer>();
player.Open(fileName, HapPlayer.PathMode.LocalFileSystem );
I'm closing this issue. Please feel free to reopen for further questions.
@keijiro thanks
@keijiro this test code and error messages.
os:win10 unity:2018.3.6f1 plugin:v0.1.8