![Essential Attributes [SceneRef]](https://assetstorev1-prd-cdn.unity3d.com/key-image/0fcf747a-cf9f-41a1-a7ab-256d92e1d195.jpg)
Display dropdowns for scene selection in string or int fields, with automatic path tracking and smart broadcasting across your project.The [SceneRef] attribute replaces raw string or int fields with scene selection dropdowns in the Unity Inspector — no more typos, missing paths, or guessing build indices.Use it on a string to pick from all scenes in your project.Use it on an int to pick only from scenes in Build Settings (since the int represents the build index).Beyond its editor UI improvements, [SceneRef] includes a powerful broadcasting system that keeps scene references in sync — even if a scene file is renamed or moved. When a path changes, all serialized references can be updated automatically.To optimize performance, broadcasting is:Optional (can be toggled on or off),Confirmable (prompted before applying),And targeted: you can define exactly which folders, scenes, and prefabs should be scanned and updated.💡 Try Before You BuyThis attribute is also included in the Essential Attributes asset — or try [ElementName]and [TexturePreview] for free on the Unity Asset Store.🔽 Converts string and int fields into scene dropdowns:・string → all scenes in the project・int → only scenes in Build Settings🔁 Broadcast system to auto-update references when scene paths change🛑 Toggle broadcast behavior in menu:・Enable/disable broadcasting・Confirm before applying・Select which folders and assets are affected🎯 Perfect for stable and typo-proof scene workflows🧠 Works with arrays and lists of scenes⚙️ Zero runtime cost — editor-only logic, plug-and-play⚠️ Internal UsageReflection