Editar

Compartilhar via


SceneInfoUtils.FindScene Method

Definition

Finds a missing scene asset reference for a SceneInfo struct.

public:
 static bool FindScene(UnityEditor::SerializedProperty ^ nameProperty, UnityEditor::SerializedProperty ^ pathProperty, UnityEngine::Object ^ % asset);
public static bool FindScene (UnityEditor.SerializedProperty nameProperty, UnityEditor.SerializedProperty pathProperty, ref UnityEngine.Object asset);
static member FindScene : UnityEditor.SerializedProperty * UnityEditor.SerializedProperty * Object -> bool
Public Shared Function FindScene (nameProperty As SerializedProperty, pathProperty As SerializedProperty, ByRef asset As Object) As Boolean

Parameters

nameProperty
UnityEditor.SerializedProperty
pathProperty
UnityEditor.SerializedProperty
asset
UnityEngine.Object

Returns

True if scene was found.

Applies to