Displays the terms and conditions window on the screen.
If the user agrees to the terms and conditions, it registers the consent or not on the server.
public void SampleShowTermsView(bool forceShow)
{
var configuration = new GamebaseRequest.Terms.GamebaseTermsConfiguration
{
forceShow = forceShow
};
{
{
Debug.Log("ShowTermsView succeeded.");
GamebaseResponse.Terms.ShowTermsViewResult result = GamebaseResponse.Terms.ShowTermsViewResult.From(data);
}
else
{
Debug.Log(string.Format("ShowTermsView failed. error:{0}", error));
}
});
}
static void ShowTermsView(GamebaseCallback.GamebaseDelegate< GamebaseResponse.DataContainer > callback)
Displays the terms and conditions window on the screen.
Definition: Gamebase.cs:3911
Displays the terms and conditions set in the Gamebase console.
Definition: Gamebase.cs:3883
static bool IsSuccess(GamebaseError error)
Return true if the GamebaseException object is null or the error code is zero.
Definition: Gamebase.cs:57
The Gamebase class is core of Gamebase service.
Definition: Gamebase.cs:11