static void InitSynth() { if (settings != null) { Synth.settings = settings.GetPlatformSettings(); if (Synth.settings.GetSynthEnum() == Synth.SynthEnum.Bass24) { #if UNITY_ANDROID || UNITY_WSA BASS24NETSynth.Register(settings.userName, settings.password); #endif } Synth.Start(); } else { Debug.LogError("InitSynth : MIDISettings NULL"); } }
public static void Register(string user, string password) { BASS24NETSynth.Register(user, password); }