PropertyPath.SubPath

Declaration

public static Unity.Properties.PropertyPath SubPath(ref Unity.Properties.PropertyPath path, int startIndex);

Parameters

path The <see cref="PropertyPath" />
startIndex The zero-based index where the sub path should start.

Returns

PropertyPath A new PropertyPath

Description

Returns a new PropertyPath containing the PropertyPathPart starting at the given start index.


Declaration

public static Unity.Properties.PropertyPath SubPath(ref Unity.Properties.PropertyPath path, int startIndex, int length);

Parameters

path The <see cref="PropertyPath" />
startIndex The zero-based index where the sub path should start.
length The number of parts to include.

Returns

PropertyPath A new PropertyPath

Description

Returns a new PropertyPath containing the given number of PropertyPathPart starting at the given start index.


Did you find this page useful? Please give it a rating: