支持微信小程序输入法
This commit is contained in:
parent
c236997ae9
commit
4e5d062cee
@ -236,6 +236,12 @@ public class GameMgr : SingletonMono<GameMgr>
|
||||
onComplete.Invoke("{\n\"openid\":\"pc-100001\",\n\"session_key\":\"xxxxx\",\n\"unionid\":\"xxxxx\",\n\"errcode\":0,\n\"errmsg\":\"xxxxx\"\n}");
|
||||
yield break;
|
||||
#else
|
||||
#if PLATFORM_WEIXINMINIGAME
|
||||
WeixinMiniGameInput.mobileKeyboardSupport = true;
|
||||
#endif
|
||||
#if UNITY_2022_1_OR_NEWER
|
||||
WebGLInput.mobileKeyboardSupport = true;
|
||||
#endif
|
||||
string wxLoginCode = string.Empty;
|
||||
WeChatWASM.WX.Login(new WeChatWASM.LoginOption()
|
||||
{
|
||||
|
||||
@ -15,7 +15,7 @@ MonoBehaviour:
|
||||
ProjectConf:
|
||||
projectName: minigame
|
||||
Appid: wx94eecfb4cfafcde5
|
||||
CDN: https://rowebgl.oss-cn-hangzhou.aliyuncs.com/32
|
||||
CDN: https://rowebgl.oss-cn-hangzhou.aliyuncs.com/35
|
||||
assetLoadType: 0
|
||||
compressDataPackage: 1
|
||||
VideoUrl:
|
||||
|
||||
@ -9,13 +9,13 @@
|
||||
"com.unity.ide.rider": "3.0.28",
|
||||
"com.unity.ide.visualstudio": "2.0.22",
|
||||
"com.unity.ide.vscode": "1.2.5",
|
||||
"com.unity.memoryprofiler": "1.1.5",
|
||||
"com.unity.test-framework": "1.1.33",
|
||||
"com.unity.textmeshpro": "3.0.6",
|
||||
"com.unity.textmeshpro": "3.0.9",
|
||||
"com.unity.timeline": "1.7.6",
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.xr.legacyinputhelpers": "2.1.10",
|
||||
"com.unity.modules.ai": "1.0.0",
|
||||
"com.unity.modules.androidjni": "1.0.0",
|
||||
"com.unity.modules.animation": "1.0.0",
|
||||
"com.unity.modules.assetbundle": "1.0.0",
|
||||
"com.unity.modules.audio": "1.0.0",
|
||||
@ -28,22 +28,14 @@
|
||||
"com.unity.modules.physics": "1.0.0",
|
||||
"com.unity.modules.physics2d": "1.0.0",
|
||||
"com.unity.modules.screencapture": "1.0.0",
|
||||
"com.unity.modules.terrain": "1.0.0",
|
||||
"com.unity.modules.terrainphysics": "1.0.0",
|
||||
"com.unity.modules.tilemap": "1.0.0",
|
||||
"com.unity.modules.ui": "1.0.0",
|
||||
"com.unity.modules.uielements": "1.0.0",
|
||||
"com.unity.modules.umbra": "1.0.0",
|
||||
"com.unity.modules.unityanalytics": "1.0.0",
|
||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
||||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
|
||||
"com.unity.modules.unitywebrequestaudio": "1.0.0",
|
||||
"com.unity.modules.unitywebrequesttexture": "1.0.0",
|
||||
"com.unity.modules.unitywebrequestwww": "1.0.0",
|
||||
"com.unity.modules.vehicles": "1.0.0",
|
||||
"com.unity.modules.video": "1.0.0",
|
||||
"com.unity.modules.vr": "1.0.0",
|
||||
"com.unity.modules.wind": "1.0.0",
|
||||
"com.unity.modules.xr": "1.0.0"
|
||||
"com.unity.modules.video": "1.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,7 +81,7 @@ PlayerSettings:
|
||||
androidAutoRotationBehavior: 1
|
||||
defaultIsNativeResolution: 1
|
||||
macRetinaSupport: 1
|
||||
runInBackground: 1
|
||||
runInBackground: 0
|
||||
captureSingleScreen: 0
|
||||
muteOtherAudioSources: 0
|
||||
Prepare IOS For Recording: 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user