Description
The FindPathInScene
method is an extension method for the SerializedProperty
class. It is used to find the path of a serialized property within a scene. This method is particularly useful for developers working with serialized data in the context of a scene, allowing them to trace the property path efficiently.
Usage
To use the FindPathInScene
method, you need to have a SerializedProperty
instance. This method will return a PropertyPath
object that represents the path of the property within the scene.
Example usage:
SerializedProperty myProperty = ...; // Assume this is initialized
PropertyPath path = SandboxToolExtensions.FindPathInScene(myProperty);
// Use the path as needed
Example
SerializedProperty myProperty = ...; // Assume this is initialized
PropertyPath path = SandboxToolExtensions.FindPathInScene(myProperty);
// Use the path as needed