我使用Unity3D,我想在主线程中运行任务并等待它完成。It can be used to make calls to the main thread for throw new Exception ("UnityMainThreadDispatcher could not find the UnityMainThreadDispatch
我正在使用signalr核心在unity和signalr之间建立连接,但是我的代码根本没有返回任何东西。这让我想知道我的代码是否真的在工作。在我建立连接之后,unity将等待服务器端调用一个函数,然后它将执行它需要做的事情。part Debug.Log("Connection Success!")Cart", data =>
C
我正在创建一个使用Unity 2020.3.4和ARCore 4.0.12以及Azure Spatial Anchors 2.8.1的应用程序。它是一款针对安卓和iOS的跨平台应用。我之所以这样做,是因为这个函数是在unity键上调用的,它不接受异步任务,但它接受void的。这在iOS设备上运行得很好,但一旦我在安卓设备上测试了它,这段代码就会使应用崩溃。//Called on Unity UI button press, works fine on IOS, but crashes the app on Android