Game Interfaces
Game Interfaces connect our modules to your game logic. These settings allow you to define how our modules should handle functionalities like storing data or rewarding the playe
Implementation Guide
Settings Manager
Open Settings: In Unity’s top menu, go to LionStudios → Settings Manager
Navigate to the "Game Interfaces" Tab
Select Assets by clicking the
buttons
Or use the Create New button to create new interface implementations
Hover over an interface’s label (e.g. Ads, Storage) to see a brief description of what the interface is for and which Lion module requires it.
Hover over an asset (e.g. ExplosionAnimation ) to see the description of each interface implementation
Create New
When None is selected, a Create New button will appear. Click it to generate a template class to implement this interface.
The template class will contain comments explaining what each function should do in your implementation.

When your implementation is complete, an Instantiate button will appear.

Click Instantiate to generate an asset with your implementation, and select it.
Interfaces
Storage
Purpose: Store and retrieve key‑value data (primitive types + objects serialized in JSON).
Provided options: Player Prefs, Encrypted Player Prefs, Firestore
Default: Player Prefs
Time
Purpose: Provide current UTC time for timed features (daily rewards, cooldowns).
Provided options: Local, LionServer, Firebase
Default: LionServer
Ads
Purpose: Display rewarded ads and check availability.
Default: Lion Ads
IAP
Purpose: Trigger and manage in‑app purchases with your chosen IAP backend.
Provided options: None. You must supply a custom implementation if this interface is required.
Rewards
Purpose: Animate and grant bundled rewards to the player.
Provided options: Explosion Animation, Popup
Default: Explosion Animation
Transactions
Purpose: Manage virtual‑currency or resource balances and provide UI targets for animations.
Provided options: None. You must supply a custom implementation if this interface is required.
Last updated