public void DeleteGroup(string categoryName, string groupName) { GOPoolCategory category = GetCategory(categoryName); if (category == null) { return; } category.DeleteGroup(groupName); }
public GOPoolItemGroup GetGroup(string categoryName, string groupName) { GOPoolCategory category = GetCategory(categoryName); if (category == null) { return(null); } return(category.GetGroup(groupName)); }
public GOPoolItemGroup CreateGroup(string categoryName, string groupName, ItemTemplateType itemType, GameObject itemTemplate) { GOPoolCategory category = GetCategory(categoryName); if (category == null) { return(null); } return(category.CreateGroup(groupName, itemType, itemTemplate)); }
public bool HasGroup(string categoryName, string groupName) { GOPoolCategory category = GetCategory(categoryName); if (category == null) { return(false); } return(category.HasGroup(groupName)); }