Hi,

how Can I set my own Music Channel in ORK? I have 3rd party Options asset and I need to assign Music Channel to the Audio Settings. But music and sounds playing by ORK are playing without any Music Channels. How Can I add Music Channel in ORK?

Thanks
  • You can access a music channel in ORK like this:
    ORK.Music[index]
    index is the index (int number) of the channel, e.g. 0 for the 1st channel, 1 for the 2nd, etc.

    E.g. to get or set the volume of a channel:
    float volume = ORK.Music[index].Volume;
    ORK.Music[index].Volume = volume;

    The volume is a value from 0 to 1.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.