Use app data in script

To use app data in your scripts just simply add field of type MetaproAppSetup and assign scriptable object in inspector.

If you cannot use that type of assignment you can use another approach of searching for asset with type MetaproAppSetup and extracting from returned list needed asset.

WARNING: This approach can lead to unexpected results when You have more than one scriptable object in your project. Use it carefully.

Last updated