11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
Unity版本 | 内置渲染管线 | 通用渲染管线(URP) | 高清渲染管线(HDRP) |
---|---|---|---|
2022.2.9f1 | 兼容 | 兼容 | 兼容 |
ScenesDot can be implemented into any type of project. It was designed to make accessing scene names easier while coding.
It is easy to forget the names of scenes, make a typo, or forget to add the scene to the build. ScenesDot reads from the list of scenes in the build and will add those scenes to an enum. In your script import the ScenesDot namespace, and then you can simple type "Scenes" followed by a dot (period) to get the list of your scenes in the build. It harnesses the power of enums to give you access to your scene names.
Plus if you change the name of a scene that you were loading, this asset will immediately throw an error on the lines of code that were still referencing the old scene name.