Example #1
0
            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);
            }
Example #2
0
 bool isValid(PackContItem contItem, int count)
 {
     return(contItem.count < 0 || contItem.count >= count);
 }