示例#1
0
        //use tag engine to find objects
        public GameObject FindWithTag(string tag)
        {
            GameObject res;

            res = tags.FindWithTag(tag, staticObjects);
            if (res == null)
            {
                res = tags.FindWithTag(tag, objects);
            }
            return(res);
        }
示例#2
0
 public static Timer FindWithTag(string tag)
 {
     return(tags.FindWithTag(tag, timers));
 }
示例#3
0
 public UIElement FindWithTag(string tag)
 {
     return(tags.FindWithTag(tag, elements));
 }