ArticyRefGetObjectTObject Method
Gets the the referenced object and tries to cast it into the given type
Definition
Namespace: Articy.Unity
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
The referenced object of the given type or null if the object isn't found or the cast failed.
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
C#
public TObject GetObject<TObject>()
where TObject : ArticyObject
Type Parameters
- TObject
- The target type of the model.
Return Value
TObjectThe referenced object of the given type or null if the object isn't found or the cast failed.