ArticyRef Object Handling - Type issue
Posted: Mon 29. Apr 2019, 21:19
Hi there, I'm trying to use Object Handling as defined in this tutorial https://www.nevigo.com/articy-importer/ ... ccessByRef but having some trouble.
In this first example I try to use a type constraint:
But the type "Character" doesn't exist.
I get the same problem if I try to get type using the GetObject<type> syntax,
I'm not sure where this Character class is supposed to be, or which classes are even available to reference. Ideally I'd like to find out how to get refs cast into FlowFragments. I'm on Unity 2018.3 with the plugin version 34886 2.0.3
Thanks in advance, loving the application so far! Just hoping the Unity integration can work for me.
In this first example I try to use a type constraint:
- Code: Select all
using System.Collections;
using UnityEngine;
using Articy.Unity;
public class ArticyContent : MonoBehaviour
{
[ArticyTypeConstraint(typeof(Character))]
public ArticyRef articyModel;
}
But the type "Character" doesn't exist.
I get the same problem if I try to get type using the GetObject<type> syntax,
- Code: Select all
var obj = myRef.GetObject<Character>();
I'm not sure where this Character class is supposed to be, or which classes are even available to reference. Ideally I'd like to find out how to get refs cast into FlowFragments. I'm on Unity 2018.3 with the plugin version 34886 2.0.3
Thanks in advance, loving the application so far! Just hoping the Unity integration can work for me.