实际上我正在使用那个来验证https网址:
void ShowSelectUI() {
uint maxNumToDisplay = 5;
bool allowCreateNew = true;
bool allowDelete = true;
// I will need to call this function first
// This will display a dialog to the player
// The player will need to create a new save manually afterwards
ISavedGameClient savedGameClient = PlayGamesPlatform.Instance.SavedGame;
savedGameClient.ShowSelectSavedGameUI("Select saved game",
maxNumToDisplay,
allowCreateNew,
allowDelete,
OnSavedGameSelected);
}
public void OnSavedGameSelected (SelectUIStatus status, ISavedGameMetadata game) {
// And then from the callback function I get the meta data
// (ISavedGameMetadata game)
if (status == SelectUIStatus.SavedGameSelected) {
// handle selected game save
} else {
// handle cancel or error
}
}
是否存在针对https网址的类似解决方案?