Summon Triumph at the tap of a button. Estimated Time: 5 minutes.
Your users will access Triumph through a button tap. You will choose the look and feel of the button, but it should be clearly accessible on the start screen of your game and have a clear identifier like "Online Mode" or "Tournaments." Call the present function when your button is tapped.
usingTriumphSDK;// Action of the tournaments buttontournamentsButton.onClick.AddListener(() => { // Summons the triumph UI when your tournaments button is tappedTriumph.Present();});
importTriumphSDK// Action of the tournaments button@objcfunconTournamentsButtonPressed() {// Summons the triumph UI when your tournaments button is tapped Triumph.present()}