ドキュメント

Unity Engine

Unity Engine

SubPath

Returns a new PropertyPath containing the PropertyPathPart starting at the given start index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

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