Пример #1
0
    //--------------------------------------
    // Private Methods

    // Use this for initialization
    void Start()
    {
#if UNITY_IPHONE
        muse = new LibmuseBridgeIos();
#elif UNITY_ANDROID
        muse = new LibmuseBridgeAndroid();
#endif

        userPickedMuse   = "";
        dataBuffer       = "";
        connectionBuffer = "";
        registerListeners();
        registerAllData();
    }
Пример #2
0
    //--------------------------------------
    // 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();
    }
Пример #3
0
    //--------------------------------------
    // 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();
    }