Edytuj

Udostępnij za pośrednictwem


SceneInfoUtils.RefreshSceneInfo Method

Definition

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.

Applies to