The Getting Started walk-through for the Unity extension shows a Trackable Event Handler script attached to the Image Target prefab (see below). But this script isn't present in the prefab that I have. Should it be, or is this something that I need to add using the ITrackableEventHandler interface?
I'm trying to determine whether my prefab is corrupt, or if the docs are out of sync with the new extension version.
If it's the latter, how do I implement the interface? Is this simply a matter of defining a concrete class that implements ITrackableEventHandler and adding this to the Image Target prefab instance? - any examples?
What I'm seeing now is that the 3D object that I've added to the scene is rendered regardless of the presence of the image target. It will follow the image target when it's in view, but is always visible regardless of whether the image target is present. I'm guessing that this is because the rendering isn't being controlled by trackable events.
Here's the walk-through screen shot that I'm referring to..
Most of the Dev Guide is also applicable to Unity. There aren't that many moving parts, really you have the prefabs and the interfaces to work with. The samples provide sample implementations of each interface.
Let us know if there's anything in particular you'd like to know more about!
- Kim