Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个应用程序,它可以在运行时更改 UI、GAME.. 之间的采样率。谁能告诉我如何在运行时(函数)中更改采样率,我是否需要在更改后重新注册传感器。
是的,您需要取消注册,然后使用不同的传感器延迟重新注册您的监听器。