只需更改此行
void Start()
{
gm = GetComponent<GameManager>();
// Authenticate and register a ProcessAuthentication callback
// This call needs to be made before we can proceed to other calls in the Social API
Social.localUser.Authenticate(ProcessAuthentication);
}
// This function gets called when Authenticate completes
// Note that if the operation is successful,Social.localUser will contain data from the server.
void ProcessAuthentication(bool success)
{
if (success)
{
Debug.Log("Authenticated,checking achievements");
gm.DebugLog("Authenticated");
// Request loaded achievements,and register a callback for processing them
Social.LoadAchievements(ProcessLoadedAchievements);
}
else
{
Debug.Log("Failed to authenticate");
gm.DebugLog("Failed to authenticate");
}
}
// This function gets called when the LoadAchievement call completes
void ProcessLoadedAchievements(IAchievement[] achievements)
{
if (achievements.Length == 0)
{
Debug.Log("Error: no achievements found");
gm.DebugLog("Error: no achievements found");
}
else
{
Debug.Log("Got " + achievements.Length + " achievements");
gm.DebugLog("Got " + achievements.Length + " achievements");
}
// You can also call into the functions like this
Social.ReportProgress(androidAchievementIDs[0],100.0,result => {
if (result)
{
gm.DebugLog("Successfully reported achievment progress");
Debug.Log("Successfully reported achievement progress");
}
else
Debug.Log("Failed to report achievement");
gm.DebugLog("Failed to report achievement" + androidAchievementIDs[0]);
});
}
要
<nav class="nav navbar-expand-sm navbar-dark">
,
添加这些类
导航栏
select itemid,max(iif(seqnum = 1,itemsupplier,null)) as supplier_1,max(iif(seqnum = 2,null)) as supplier_2,max(iif(seqnum = 3,null)) as supplier_3
from (select t.*,(select count(*)
from t as t2
where t2.itemid = t.itemid and t2.id <= t.id
) as seqnum
from t
) as t
group by itemid;
前往#navbarSupportedContent
justify-content-between justify-content-sm-start
代码
flex-grow-0 flex-sm-grow-1
更多信息在这里
https://getbootstrap.com/docs/4.3/utilities/flex/#justify-content,
https://getbootstrap.com/docs/4.3/utilities/flex/#grow-and-shrink
本文链接:https://www.f2er.com/3084742.html