SwapItemAddAction - SocialPlay/CloudGoodsUnitySDK GitHub Wiki
This component is added to a container to give the container a basic add to container action.
public int swapIndex - The list index of the item that will be swapped
public int swapItemLimit - The limit of the amount of unique items before an item will be swapped
public void AddItem - The implementation of the interfaced method AddItem. This implementation will add an item if there is less items than the swapItemLimit. If there are more and there is an attempt to add, it will swap with the given indexed item instead.