SceneInfoUtils.RefreshSceneInfo Method
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.
Updates all the serialized properties for a SceneInfo struct.
public:
static bool RefreshSceneInfo(UnityEngine::Object ^ asset, UnityEditor::SerializedProperty ^ nameProperty, UnityEditor::SerializedProperty ^ pathProperty, UnityEditor::SerializedProperty ^ buildIndexProperty, UnityEditor::SerializedProperty ^ includedProperty, UnityEditor::SerializedProperty ^ tagProperty);
public static bool RefreshSceneInfo (UnityEngine.Object asset, UnityEditor.SerializedProperty nameProperty, UnityEditor.SerializedProperty pathProperty, UnityEditor.SerializedProperty buildIndexProperty, UnityEditor.SerializedProperty includedProperty, UnityEditor.SerializedProperty tagProperty);
static member RefreshSceneInfo : UnityEngine.Object * UnityEditor.SerializedProperty * UnityEditor.SerializedProperty * UnityEditor.SerializedProperty * UnityEditor.SerializedProperty * UnityEditor.SerializedProperty -> bool
Public Shared Function RefreshSceneInfo (asset As Object, nameProperty As SerializedProperty, pathProperty As SerializedProperty, buildIndexProperty As SerializedProperty, includedProperty As SerializedProperty, tagProperty As SerializedProperty) As Boolean
Parameters
- asset
- UnityEngine.Object
- nameProperty
- UnityEditor.SerializedProperty
- pathProperty
- UnityEditor.SerializedProperty
- buildIndexProperty
- UnityEditor.SerializedProperty
- includedProperty
- UnityEditor.SerializedProperty
- tagProperty
- UnityEditor.SerializedProperty
Returns
True if a property has changed.