ArticyDatabaseGetObject Method (String, UInt32) |
Gets an object by its technical name and instance id.
Namespace:
Articy.Unity
Assembly:
ArticyRuntime (in ArticyRuntime.dll) Version: 1.0.3
Syntax public static ArticyObject GetObject(
string aTechnicalName,
uint aInstanceId
)
Parameters
- aTechnicalName
- Type: SystemString
The technical name of the object in question. - aInstanceId
- Type: SystemUInt32
The instance id of the object, use 0 for the base database object.
Return Value
Type:
ArticyObjectThe found object with the given
aTechnicalName or
null if the name doesn't exist in the database or the owning package is not loaded.
Remarks Examples
var clonedManfred = ArticyDatabase.GetObject("Chr_Manfred", 2);
See Also