Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

PropertyContainer.GetValue

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static TValue GetValue(TContainer container, string name);

Parameters

container The container whose property value will be returned.
name The name of the property to get.

Returns

TValue The value for the specified name.

Description

Gets the value of a property by name.


Declaration

public static TValue GetValue(TContainer container, ref Unity.Properties.PropertyPath path);

Parameters

container The container whose property value will be returned.
path The path of the property to get.

Returns

TValue The value at the specified path.

Description

Gets the value of a property by path.