SceneInfoUtils.FindScene 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.
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.