public void EnableObject(string objname)
        {
            GameObject g;

            if (ObjectInfo.FindByName(objects, objname, out g))
            {
                g.SetActive(true);
            }
        }
        public void DisableObject(string objname)
        {
            GameObject g;

            if (ObjectInfo.FindByName(objects, objname, out g))
            {
                g.SetActive(false);
            }
            else
            {
                Debug.LogErrorFormat("Can't find object named {0}", objname);
            }
        }