For the complete documentation index, see llms.txt. This page is also available as Markdown.

Opening the Store with a Button

With a properly configured Store Browser, you can open the UI from your game with a simple script such as:

using Tebex.TebexUnity;
using UnityEngine;

public class StoreButtonHandler : MonoBehaviour
{
    [SerializeField] StoreBrowser storeBrowser;

    public void OnStoreButtonClicked()
    {
        storeBrowser.DrawUI();
    }
}

Last updated

Was this helpful?