MixedRealityToolkit-Unity
MixedRealityToolkit-Unity copied to clipboard
How to clean memory of taptoplace?
Hi,
I'm using the TapToPlace script for a game I'm working on, but every time I close the app and reopen it, the object is where I put it last time, I try to change the initial position but it does not Work.
It's any way to clean the position when the app restarts?
You have to delete the WorldAnchor set in the WorldAnchorManager by the TapToPlace script.
@niklas87 is right. Also, it may benefit you to make an object pool to keep track of which objects have tap to place and what their anchor names are.
Thank guys,
it works like a charm.