Пример #1
0
        public void DeleteGroup(string categoryName, string groupName)
        {
            GOPoolCategory category = GetCategory(categoryName);

            if (category == null)
            {
                return;
            }
            category.DeleteGroup(groupName);
        }
Пример #2
0
        public GOPoolItemGroup GetGroup(string categoryName, string groupName)
        {
            GOPoolCategory category = GetCategory(categoryName);

            if (category == null)
            {
                return(null);
            }
            return(category.GetGroup(groupName));
        }
Пример #3
0
        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));
        }
Пример #4
0
        public bool HasGroup(string categoryName, string groupName)
        {
            GOPoolCategory category = GetCategory(categoryName);

            if (category == null)
            {
                return(false);
            }
            return(category.HasGroup(groupName));
        }