GetItemsDropper - SocialPlay/CloudGoodsUnitySDK GitHub Wiki
This is an implementation class of the IGetItems class. This implementation will drop items into the game scene when the items have become generated into the game from the server.
Public Variables
static public GameObject dropParent - This object is created to easily manage dropped items in the scene hierarchy. It creates a DroppedItems gameobject if one doesnt exist and parents all dropped items to that object
public Transform DropTransform - This object is set for the object you want the items dropped on. Uses this transforms location for the drop items location.
Public Functions
void DropItems - This gets called when the public function GetGameItem gets called. This implementation creates a new gameobject in the hierarchy and the prefab spawned is determined by the method, either from prefab initializer, asset bundles, or default drop item