Beispiel #1
0
    void Start()
    {
        DontDestroyOnLoad(gameObject);

                #if UNITY_ANDROID
        connector = TamabinConnector.getInstance();
        connector.SetTamabinBluetoothName(tamabinBluetoothName);
        lastMessage = "";
        connected   = false;
                #endif

                #if UNITY_EDITOR
        editorConnected = false;
        tamaguchiEat    = false;
                #endif
    }