Question by
laurentlavigne · Aug 04, 2020 at 03:37 AM ·
sceneassetbundleaddress
How do you get the name of an AssetReference scene ?
I reference scenes as AssetReferences I want to use the name of the scene to check game progress
PlayerPrefs.SetInt(sceneName, 1);
the problem is
AssetReference.ToString()
returns the runtime GUID which probably change from build to build
AssetReferenceT<T>
where T=Scene doesn't work because T needs to be a nullable and Scene is a struct What's the alternative?
Comment