Exemple #1
0
    public static void HideLayer(int n)
    {
        if (lstLayer.ContainsKey(n))
        {
            GameObject objLayer = lstLayer[n];;
            foreach (Transform child in objLayer.transform)
            {
                UIMgr.DestroyObj(child.gameObject);
            }

            objLayer.SetActive(false);
        }
    }