I know the below code disappears canvas on tracking lost in Vuforia. Under DefaultTrackableEvent.cs,
Canvas[] canvasComponents = GetComponentsInChildren<Canvas>(true);
// Disable canvas:
foreach (Canvas component in canvasComponents)
{
component.enabled = false;
}
Now i have 3 canvas and i want 2 canvas elements to disappear on target lost. The above is not working for this! Can you help me with a solution!