By kasi
on Wed, 09/25/2019 - 21:11
Hi, I'm placing Plane Stage and Plane Finder on runtime, but I can't figure out how to set the script that will run OnAutomaticHitTest.
Can Someone help?
Thanks
Hi, I'm placing Plane Stage and Plane Finder on runtime, but I can't figure out how to set the script that will run OnAutomaticHitTest.
Can Someone help?
Thanks
Hi,
Hi,
Once you place PlaneFinder. In the Inspector you will have Plane Finder Behaviour(Script) in which you can toggle the mode from Automatic to Interactive.
In addtion, we also have in Vuforia Core Samples app a scene; GroundPlane which demos the behavior.
Thank you.
Hi,
Hi,
Actually, my question was how can I set the script that will run on OnInteractiveHiTest or OnAutomaticHitTest at runtime.
From your samples I already understood the way we toggle from Automatic to Interactive, at the time I wrote the question.
I think you need to use Unity
I think you need to use Unity's "AddListener" call to do this.