unity-atoms / unity-atoms

⚛️ Tiny modular pieces utilizing the power of Scriptable Objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] SceneField for Addressable Scenes

soraphis opened this issue · comments

Is your feature request related to a problem? Please describe.
When using the Addressable package, scenes are not added to the build-index.

Describe the solution you'd like
Create a new class for AddressableSceneField and a common base class for both cases.

This type should be in an asmdef with a "Version Define" that enables a preprocessor directive if the addressable package is added.

To reference an addressable Scene we can probably use the AssetReference type of the addressable package.

Additional context
#432