![](/img/trans.png)
[英]How to remove unity build-in loading screen in Facebook instant game?
[英]Facebook - How to remove loading screen from Instant Games
您需要使用Instant Games API。 例如:
FBInstant.intializeAsync().then(() => {
// load your game
return FBInstant.startGameAsync();
}).then(() => {
// your game logic
});
您不能直接從C#使用此API,因為它是JavaScript API。 要使用Unity中的JavaScript,請參見本教程: https : //docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.