Commit 7cb9ac67 authored by shujianhe's avatar shujianhe

Merge branch 'master' of gitlab.huolea.com:shujianhe/tusegamecolor

parents 8f0546fd bb075cae
......@@ -13,7 +13,7 @@ public class Native : MonoBehaviour
void Start()
{
text.text = "test";
// text.text = "test";
showHostMainWindow();
Debug.Log("UnityStart");
}
......@@ -43,12 +43,10 @@ public class Native : MonoBehaviour
#endif
}
void onNativeMessage(string json)
{
Debug.Log("Android调用该方法"+json);
}
void loadGameScene()
{
SceneManager.LoadScene("Scenes/gameScene");
Debug.Log("Android调用该方法"+json);
}
}
......@@ -62,9 +62,9 @@ PlayerSettings:
allowedAutorotateToLandscapeRight: 1
allowedAutorotateToLandscapeLeft: 1
useOSAutorotation: 1
use32BitDisplayBuffer: 1
use32BitDisplayBuffer: 0
preserveFramebufferAlpha: 0
disableDepthAndStencilBuffers: 1
disableDepthAndStencilBuffers: 0
androidStartInFullscreen: 1
androidRenderOutsideSafeArea: 1
androidUseSwappy: 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment