Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryLoadProperty

Loads a property if any.
Read time 1 minuteLast updated 11 days ago

Definition

TryLoadProperty(ulong, string, PropertyDatabaseRecordKey, Object, string)

Loads a property if any.
public bool TryLoadProperty(ulong documentKey, string propertyName, out PropertyDatabaseRecordKey recordKey, out object value, out string alias)

Parameters

documentKey

Document id.

propertyName

Property name.

Computed property key that can be used to do other load or store accesses.

value

Decoded propety value.

alias

Property alias if any.

Returns

Type

Description

boolReturns true if the property is found.

TryLoadProperty(PropertyDatabaseRecordKey, Object)

Loads a property if any.
public bool TryLoadProperty(PropertyDatabaseRecordKey recordKey, out object data)

Parameters

Computed property key that can be used to do other load or store accesses.

data

Decoded propety value.

Returns

Type

Description

boolReturns true if the property is found.