This pack includes a shop system add-on with its example UI and game currency. Requires Retro Horror Template.
For more details about this asset: Click Here
This package is provided solely for evaluation, learning, or testing purposes before purchase and is not permitted for commercial use.
Retro Horror Template – Shop v1.1 (Latest version)
“If possible, please buy the package to support the developer”
Description
This addon includes a shop screen and in-game currency, which allows the player to purchase any game items.
UI Setup
First we need to make sure the UIShop is spawned when the game starts. For this, simply add UISHop to the CustomUI list in your HECore asset.
If you are using the included default HECorePrefabs, simply add UIShop to the CustomUI list.
Ideally, you should use your own HECorePrefab where you can use the base HECorePrefab as a prototype in order to add only the additional or changed elements.
Add shop to a level
To add a shop to a level, simply drop the prefab HorrorEngine/AddOns/Shop/Prefabs/Shop in your level.
This will add a placeholder interactable object which should open a shop when interacted.
Shop content
When the Shop prefab is interacted with, the shop is opened using a ScriptableObject which contains the selling products
You can duplicate this asset to define your own shop or create one by right clicking on your Project View and selecting Create→HorrorEngine→Shop→Content.
Inside this file you can specify the products available in the shop, separated by categories and with different costs.
Game Currency
The add-on includes a standard currency called Money, this is a game attribute (put simply, a value that’s stored with the game save data) and can be found in HorrorEngine/AddOns/Shop/Attributes
You can create other forms of currency (gems, ability points, etc…) by right clicking on the Project View and selecting: Create→HorrorEngine→Attributes→GameAttribute
Give it a UniqueId and select the Domain: Character domain means this currency will be stored per character and Game means it’s a global value shared by all characters.




