- Sort Posts
- 2 replies
- Last post
Dynamically assign pre-defined trackables to Image Targets via script- Unity3d
January 2, 2013 - 5:16am #1
Thnx for the prompt reply.I
January 3, 2013 - 2:13pm #3
Yes but you don't need to
January 2, 2013 - 8:29am #2
Yes but you don't need to assign them to ImageTarget prefeb instances, those are simply used as an authoring tool within Unity. Rather you can obtain the trackables from your active device database(s) programmatically and assign your augmentations to these at runtime. See: https://developer.vuforia.com/resources/dev-guide/swappable-databases-unity
Thnx for the prompt reply.
I went threough the example very thoroghly but I am still stuck at
// Loop over all Targets.
for
(
int
i = 0; i < numTrackables; ++i))
{
GameObject go = dstb.gameObject;
What is dstb
??? And how to fetch it ??