TryLoadProperty
Loads a property if any.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
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
Document id.
Property name.
Computed property key that can be used to do other load or store accesses.
Decoded propety value.
Property alias if any.
Returns
Type | Description |
|---|---|
| bool | Returns 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.
Decoded propety value.
Returns
Type | Description |
|---|---|
| bool | Returns true if the property is found. |