> For the complete documentation index, see [llms.txt](https://docs.tebex.io/developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tebex.io/developers/unity-engine/examples/opening-the-store-with-a-button.md).

# Opening the Store with a Button

With a properly configured [Store Browser](/developers/unity-engine/features/store-browser.md), you can open the UI from your game with a simple script such as:

```csharp
using Tebex.TebexUnity;
using UnityEngine;

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

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