Example #1
0
    public void OnClickExit()
    {
        GameObject[] contentItemDetached = GameObject.FindGameObjectsWithTag("SampleItem") as GameObject[];
        for (int i = 0; i < contentItemDetached.Length; i++)
        {
            Destroy(contentItemDetached[i]);
        }

        annotationSetupManager.WriteXMLFile();
        annotationSetupManager.ParameterSetupPanel.SetActive(false);
    }