Click or drag to resize

ArticyDatabaseCloneOrGetFrom Method (UInt64, UInt32)

Try to get the object with the given object id and instance id, or clone it if the instance id wasn't found.

Namespace:  Articy.Unity
Assembly:  ArticyRuntime (in ArticyRuntime.dll) Version: 1.0.3
Syntax
C#
public static ArticyObject CloneOrGetFrom(
	ulong aObjectId,
	uint aInstanceId
)

Parameters

aObjectId
Type: SystemUInt64
The Object id to clone from.
aInstanceId
Type: SystemUInt32
The target instance id, if the clone does with that id does not exist, otherwise the found clone will be returned.

Return Value

Type: ArticyObject
The found object, when the instance id was already used or a new cloned object. Will return null when aInstanceId was not found.
See Also