Access package images as Texture2D
using Tebex.TebexUnity;
using Tebex.Headless;
// After StoreBrowser has initialized, the static Tebex class holds all data.
foreach (Category cat in Tebex.Categories)
{
Debug.Log($"Category: {cat.name}");
foreach (Package pkg in cat.packages)
{
Debug.Log($" {pkg.name} — {pkg.currency}{pkg.total_price}");
}
}
// Get a package image (fetched and cached automatically):
Texture2D icon = Tebex.GetTexture(myPackage);Last updated
Was this helpful?

