Log in or register to post comments

Can't add script behaviour ITrackableEventHandler

August 17, 2011 - 2:04am #1

Hi,

I was playing around with the example project but when I tried to drop the TrackableEventHandler script to the Imagetarget Gameobject it gives me this message.
"Can't add script behaviour ITrackableEventHandler. The script can't be an interface!"

Using unity3.4 on a Mac

Hope you can help me out.

Greets Urwin

Re: Can't add script behaviour ITrackableEventHandler

August 17, 2011 - 8:28am #2

ITrackableEventHandler is the interface, you need a class that implements the interface. Our sample applications (e.g. ImageTargets) come with a file named TrackableEventHandler.cs in the Scripts folder, this is a sample implementation that you can drag onto the trackables in your scene.

- Kim

Log in or register to post comments