SceneInfoUtils Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class responsible for updating scene info structs to reflect changes made to scene assets. Extends AssetPostprocessor so it can respond to asset changes.
public ref class SceneInfoUtils : UnityEditor::AssetPostprocessor, UnityEditor::Build::IProcessSceneWithReport
public class SceneInfoUtils : UnityEditor.AssetPostprocessor, UnityEditor.Build.IProcessSceneWithReport
type SceneInfoUtils = class
inherit AssetPostprocessor
interface IProcessSceneWithReport
interface IOrderedCallback
Public Class SceneInfoUtils
Inherits AssetPostprocessor
Implements IProcessSceneWithReport
- Inheritance
-
UnityEditor.AssetPostprocessorSceneInfoUtils
- Implements
-
UnityEditor.Build.IOrderedCallback UnityEditor.Build.IProcessSceneWithReport
Constructors
SceneInfoUtils() |
Properties
CachedScenes |
Cached scenes used by SceneInfoDrawer to keep property drawer performant. |
callbackOrder |
Methods
FindScene(SerializedProperty, SerializedProperty, Object) |
Finds a missing scene asset reference for a SceneInfo struct. |
GetSceneInfoRelativeProperties(SerializedProperty, SerializedProperty, SerializedProperty, SerializedProperty, SerializedProperty, SerializedProperty, SerializedProperty) |
Finds all relative properties of a SceneInfo struct. |
OnPostProcessScene() |
Searches for all components in a scene and refreshes any SceneInfo fields found. |
OnProcessScene(Scene, BuildReport) |
Implements IProcessSceneWithReport.OnProcessScene |
RefreshCachedScenes() |
Call this when you make a change to the build settings and need those changes to be reflected immediately. |
RefreshSceneInfo(Object, SerializedProperty, SerializedProperty, SerializedProperty, SerializedProperty, SerializedProperty) |
Updates all the serialized properties for a SceneInfo struct. |