Volograms / volograms_unity_plugin

A plugin to play captured volograms (.vols files) in Unity.
MIT License
17 stars 2 forks source link

Loop not working if "Play On Start" is unchecked #17

Open Jotamaza opened 2 years ago

Jotamaza commented 2 years ago

When the VolPlayer is configured but the Play On Start is not checked, and we trigger the Play method elsewhere, the Vologram plays but don't loop even if Is Looping is checked or the player.isLooping property is set to true through code.

To Reproduce Steps to reproduce the behavior:

  1. Create a VolPlayer and configure it as usual.
  2. Unmark the Play On Start check, with the Is Looping check marked.
  3. Call the volPlayer.Play() method.

Desktop (please complete the following information):

Additional context Add any other context about the problem here. Some suggestions

capnramses commented 2 years ago

Thanks for the detailed report @Jotamaza . I added this issue to our backlog. Sounds like it should be a quick logic fix.