Is it possible to load the item attribute as Addressable when the type is GameObject or Sprite?

hopper

New member
Is it possible to load the item attribute as Addressable when the type is GameObject or Sprite?


Please let me know if you have any documents.
I couldn't find it.
 

Sangemdoko

Moderator
Staff member
We haven't looked into addressables yet.
That being said you can create custom types and use them as attributes. So perhaps you can create a container class that uses addressables for sprites, gameobject or any Unity object.

It's possible that setting an"AssetReference" attribute might just work, I haven't tried.
To set custom attribute types check out this page:

Let me know your findings. Once I have some free time I'll try to look into it myself too.
 
Top