public void invoke(IPackContainer container, PackContItem contItem, int count, bool refresh = false, UnityAction onSuccess = null, UnityAction onError = null) { var counts = new int[] { count }; var contItems = new PackContItem[] { contItem }; invoke(container, contItems, counts, refresh, onSuccess, onError); }
bool isValid(PackContItem contItem, int count) { return(contItem.count < 0 || contItem.count >= count); }