Start a new topic

Swapping Drawable Prefabs at Runtime

 I currently have a setup with multiple ImageTrackables nested under an ImageTracker, and each has an associated prefab I want to overlay. I have the prefab set as the Drawable argument in the inspector and the behavior is exactly as I want it.

However I am unable to figure out a way to swap the Drawable prefab at runtime. I am looking to detect an input gesture (using touchscript) and respond by swapping the drawable prefab with another, in short to swap between two augmentations on touch input.

Is there a proper way to runtime swap the drawables on the ImageTrackables?

1 Comment


Do you still have issues with swapping the prefabs, or was the issue resolved in this post?

Best regards, 


Login or Signup to post a comment