/// <summary> /// Find first control of this name under the specified category transform /// </summary> protected static Transform GetExistingControl(string categoryPath, string controlName) { var cat = GameObject.Find(categoryPath); var catTop = MakerAPI.FindSubcategoryContentParent(cat.transform); return(catTop.Find(controlName)); }