By DrDragren
on Sat, 09/21/2019 - 15:44
I'm trying to run a function inside DefaultTrackableEventHandler.cs after Vuforia detects the target by using the protected virtual void OnTrackingFound() but Vuforia can't detect the namespace that I'm using which is saved inside the Assets folder plus whenever I restart Visual Studio, every code that I've added to the DefaultTrackableEventHandler is deleted and the file is reset back to its original state. I think the problem might lie in the fact that DefaultTrackableEventHandler.cs is located inside the Packages folder while the script that I'm using for the namespace is inside the Assets folder.
How do I resolve this issue?
Hi,
Hi,
Hi!
Hi!
I'm facing the same issue. I tried to inherit from DefaultTrackableEventHandler and override the OnTrackingFound(), but it seems to ignore the my OnTrackingFound method and runs the default one from Vuforia Package.
What could i possibly do?