It would be nice if the Addressables package had a built-in AssetReference
type that could be used with scene assets – something like AssetReferenceScene
. It’s relatively straightforward to roll your own, but it’s kind of a hassle, especially when the library already provides other helper asset reference classes like AssetReferenceGameObject
, AssetReferenceSprite
, and AssetReferenceTexture
.
Here is an implemention that someone else posted previously in these forums.