ArticyDatabaseGetObject(String) Method
Gets an object by its technical name. This is always the base object.
Definition
Namespace: Articy.Unity
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
The found object with the given aTechnicalName or null if the name doesn't exist in the database or the owning package is not loaded.
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
C#
public static ArticyObject GetObject(
string aTechnicalName
)Parameters
- aTechnicalName String
- The technical name of the object in question.
Return Value
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
This is the basic way of getting an articy object by its technical name. If the object is not found null will be returned.
Example
C#
// get the object by its technical name
var manfred1 = ArticyDatabase.GetObject("Chr_Manfred");