Android Games Settings Intent - StansAssets/com.stansassets.android-native GitHub Wiki

The code sample below shows how to show the Settings screen that allows the user to configure Games-related features for the current game.

var gamesClient = AN_Games.GetGamesClient();
gamesClient.GetSettingsIntent((result) =>
{
    if (result.IsSucceeded)
    {
        var intent = result.Intent;
        var proxy = new AN_ProxyActivity();
        proxy.StartActivityForResult(intent, (intentResult) =>
        {
            proxy.Finish();
        });
    }
    else
    {
        Debug.Log($"Failed to Get Settings Intent {result.Error.FullMessage}");
    }
});