Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Vuforia- Implementing ITrackableEventHandler Interface

Discussion in 'AR/VR (XR) Discussion' started by blccl, Jul 18, 2015.

  1. blccl

    blccl

    Joined:
    Apr 22, 2014
    Posts:
    5
    I am trying to create a script to recognise when an particular image target is found. This will show a UI for that particular image target.

    I have experience extending objects in java but I am struggling with C#.

    I receive this error in the debug console.

    `Vuforia.UIElf' does not implement interface member `Vuforia.ITrackableEventHandler.OnTrackableStateChanged(Vuforia.TrackableBehaviour.Status, Vuforia.TrackableBehaviour.Status)'

    I am not completely sure if I am doing this correctly and if anyone could tell me where I am going wrong or post a sample script it would be much appreciated :)

    Thanks,
     
  2. s096268

    s096268

    Joined:
    Oct 28, 2015
    Posts:
    11
    Did you find out what the problem was? :)
     
  3. blccl

    blccl

    Joined:
    Apr 22, 2014
    Posts:
    5
    This was a little while back now.

    But if I remember rightly, I just duplicated the script and changed script name/ class name.

    Let me know how it goes.
     
    s096268 likes this.
  4. s096268

    s096268

    Joined:
    Oct 28, 2015
    Posts:
    11
    Thank you for your reply! I managed to find another to make what I want to. I was playing around with an UI yes, and refering to different scripts.