Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateRecordKey

Creates a record key from a document identifier and a property path.
Read time 1 minuteLast updated 6 days ago

Definition

CreateRecordKey(string, string)

Creates a record key from a document identifier and a property path.
public static PropertyDatabaseRecordKey CreateRecordKey(string documentId, string propertyPath)

Parameters

documentId

A document identifier.

propertyPath

A property path or name.

Returns

Type

Description

PropertyDatabaseRecordKeyThe record key.

Remarks

CreateRecordKey(ulong, Hash128)

Creates a record key from a document key and a property hash.
public static PropertyDatabaseRecordKey CreateRecordKey(ulong documentKey, Hash128 propertyPathHash)

Parameters

documentKey

A document key.

propertyPathHash

A property hash.

Returns

Type

Description

PropertyDatabaseRecordKeyThe record key.

Remarks

CreateRecordKey(string)

Creates a record key from a property path.
public static PropertyDatabaseRecordKey CreateRecordKey(string propertyPath)

Parameters

propertyPath

A property path or name.

Returns

Type

Description

PropertyDatabaseRecordKeyThe record key.

Remarks

The document identifier will be considered as null and the document key will be 0.

CreateRecordKey(string, Hash128)

Creates a record key from a document identifier and a property hash.
public static PropertyDatabaseRecordKey CreateRecordKey(string documentId, Hash128 propertyHash)

Parameters

documentId

A document identifier.

propertyHash

A property hash.

Returns

Type

Description

PropertyDatabaseRecordKeyThe record key.

Remarks

CreateRecordKey(Hash128)

Creates a record key from a property hash.
public static PropertyDatabaseRecordKey CreateRecordKey(Hash128 propertyHash)

Parameters

propertyHash

A property hash.

Returns

Type

Description

PropertyDatabaseRecordKeyThe record key.

Remarks

The document identifier will be considered as null and the document key will be 0.