Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetAttributeValue(string, out string)

Get the value of an attribute as a string.
Read time 1 minuteLast updated 8 days ago

Definition

TryGetAttributeValue(string, string)

bool TryGetAttributeValue(string attributeName, out string value)

Parameters

attributeName

Attribute name.

value

The attribute value or null if not found.

Returns

Type

Description

boolTrue if the attribute was found, false otherwise.