//-------------------------------------- // Private Methods // Use this for initialization void Start() { #if UNITY_IPHONE muse = new LibmuseBridgeIos(); #elif UNITY_ANDROID muse = new LibmuseBridgeAndroid(); #endif Debug.Log("Libmuse version = " + muse.getLibmuseVersion()); userPickedMuse = ""; dataBuffer = ""; connectionBuffer = ""; registerListeners(); registerAllData(); }
//-------------------------------------- // Private Methods // Use this for initialization void Start() { //ifUNITY_IPHONE var muse = new LibmuseBridge(); //elifUNITY_ANDROID //muse = new LibmuseBridgeAndroid(); //endif Console.WriteLine("Libmuse version = " + muse.getLibmuseVersion()); userPickedMuse = ""; dataBuffer = ""; connectionBuffer = ""; registerListeners(); registerAllData(); }