"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

problem in customize OnTrackingFound()

In my issue ,I want to customize DefaultTrackableEventHandler Class. exactly when  trackable image is founded some values in other classes must be changed . for that I try to modify the OnTrackingFound() function. I add these lines to that function.

 

GameManager gameManager = Singleton.Instance;

gameManager.GameState = GameState.Found;

 

in vuforia7 I don't have any problem and it works correctly. but when I upgrade vuforia to 8.1 either it dose not understand GameManager class or any other classes that I defined.

finally my question is that "how can I modify and customize OnTrackingFound() and OntrackingLost() Functions in vuforia 8.1"? 

sorry I'm not good in English 

I hope You understand my question 

Hello,

These are not Vuforia Engine APIs. Thus, it is highly unlikely it has anything to do with upgrading your Vuforia Engine SDK. I suggest you look more closely at Unity APIs as you would have had to upgrade the Editor to install Vuforia 8.1.

Thanks,

Ive been doing the same, the trick is that you have to have your script that you want to access inside the Vuforia folders. If it is simply Assets > scripts > myScript, the DefaultTrackableEventHandler will not find the script.