edited June 2023 in ORK Scripting
Heyo! We're using ORK's shop system to store data for inventory and inventory availability based on condtitions in an external UI system and wanted to know how we can get the ShopSetting for a specific shop using it's ORK ID or GUID?

Cheers!
Post edited by twill14 on
  • You can't get it via ID/index or GUID, because that data isn't directly referenced by the project.

    You can get it via the shop's asset (i.e. a ShopAsset), which you can use like any Unity asset. To get the settings from it, you can access the Settings attribute:
    asset.Settings
    This works in all ORK/Makinom data assets.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you gil!
Sign In or Register to comment.