Non-consumable unlocks and time-limited access with PlaytoliaEntitlements
PlaytoliaEntitlements tracks what the player has permanently or temporarily unlocked through purchases. Entitlements are granted automatically when a purchase completes.
var all = PlaytoliaEntitlements.GetAllEntitlements();var single = PlaytoliaEntitlements.GetEntitlementByGrantId("vip_pass");var list = PlaytoliaEntitlements.GetEntitlementsByGrantId("vip_pass");var byItem = PlaytoliaEntitlements.GetEntitlementByItemId(storeItemId);
GetEntitlementByGrantId and GetEntitlementByItemId only return valid, non-expired entitlements. A null result means the player doesn’t have a current entitlement — no need to check IsExpired yourself.