Scripting API

PropertyPath

struct in Unity.Properties · UnityEngine.PropertiesModule

20 of 21 of Unity's membersUnity's documentation
In Tassix

A path into an object's properties: "name", "list[2]", "dict[\"key\"].field".

Constructors 1

PropertyPath(string path)

Properties 3

bool IsEmpty { get; }
int Length { get; }
PropertyPathPart this[int index] { get; }

Methods 14

static PropertyPath AppendIndex(in PropertyPath path, int index)
static PropertyPath AppendKey(in PropertyPath path, object key)
static PropertyPath AppendName(in PropertyPath path, string name)
static PropertyPath AppendPart(in PropertyPath path, in PropertyPathPart part)
static PropertyPath Combine(in PropertyPath path, in PropertyPath pathToAppend)
static PropertyPath Combine(in PropertyPath path, string pathToAppend)
bool Equals(PropertyPath other)
bool Equals(object? obj)
static PropertyPath FromIndex(int index)
static PropertyPath FromKey(object key)
static PropertyPath FromName(string name)
static PropertyPath FromPart(in PropertyPathPart part)
int GetHashCode()
static PropertyPath Pop(in PropertyPath path)
static PropertyPath SubPath(in PropertyPath path, int startIndex)
static PropertyPath SubPath(in PropertyPath path, int startIndex, int length)
string ToString()

Operators 2

static bool operator !=(PropertyPath lhs, PropertyPath rhs)
static bool operator ==(PropertyPath lhs, PropertyPath rhs)

Not in Tassix yet 1

AppendProperty