Hello,
I am using Vuforia for AR android application.
Now, I can show the button when “Marker7-Capsule” tracked, i want to add a function that duplicate the Capsule, when Marker7-Capsule and Workstation is tracking.
As 123.png in the hierarchy.
How can i duplicate the Capsule from “Marker7-Capsule” to Workstation using C#??
Thank you

Do you mean while the game is running, or in the editor?
For the former, Instantiate can be used to make a copy of an object (just pass the object as the first parameter), and then you can change the parent just by setting transform.parent.
Yes, you are right, In runtime.
I am so sorry that i forgot to mention the situation.
Moreover, If i want to place the Capsule from “Marker7-Capsule” to Workstation .
The position XYZ of capsule can same as the image have attached??
I’m worry that the XYZ will set to 0,0,0.