Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsPathValid

Returns true if a property exists at the specified PropertyPath.
Read time 1 minuteLast updated 13 days ago

Definition

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

IsPathValid<T>(T, string)

Returns
true
if a property exists at the specified PropertyPath.
public static bool IsPathValid<TContainer>(TContainer container, string path)

Parameters

container

T
The container tree to search.

path

The property path to resolve.

Returns

Type

Description

bool
true
if a property can be found at path.

IsPathValid<T>(T, PropertyPath)

Returns
true
if a property exists at the specified PropertyPath.
public static bool IsPathValid<TContainer>(TContainer container, in PropertyPath path)

Parameters

container

T
The container tree to search.

The property path to resolve.

Returns

Type

Description

bool
true
if a property can be found at path.

IsPathValid<T>(T, string)

Returns
true
if a property exists at the specified PropertyPath.
public static bool IsPathValid<TContainer>(ref TContainer container, string path)

Parameters

container

T
The container tree to search.

path

The property path to resolve.

Returns

Type

Description

bool
true
if a property can be found at path.

IsPathValid<T>(T, PropertyPath)

Returns
true
if a property exists at the specified PropertyPath.
public static bool IsPathValid<TContainer>(ref TContainer container, in PropertyPath path)

Parameters

container

T
The container tree to search.

The property path to resolve.

Returns

Type

Description

bool
true
if a property can be found at path.