Documentation

Unity Engine

Download Unity

Unity Engine

SubPath

Returns a new PropertyPath containing the PropertyPathPart starting at the given start index.
Read time 1 minuteLast updated a day ago

Definition

SubPath(PropertyPath, int)

Returns a new PropertyPath containing the PropertyPathPart starting at the given start index.
public static PropertyPath SubPath(in PropertyPath path, int startIndex)

Parameters


startIndex

The zero-based index where the sub path should start.

Returns

Type

Description

PropertyPathA new PropertyPath

SubPath(PropertyPath, int, int)

Returns a new PropertyPath containing the given number of PropertyPathPart starting at the given start index.
public static PropertyPath SubPath(in PropertyPath path, int startIndex, int length)

Parameters


startIndex

The zero-based index where the sub path should start.

length

The number of parts to include.

Returns

Type

Description

PropertyPathA new PropertyPath