• 2024-10-31【Unity】微信小游戏适配之屏幕常亮
    屏幕常亮Unity:Screen.sleepTimeout=SleepTimeout.NeverSleep;微信:wx.setKeepScreenOn(Objectobject)功能描述设置是否保持常亮状态。仅在当前小程序生效,离开小程序后设置失效。参数Objectobject属性类型默认值必填说明keepScreenOnboolean 是是否保