public void Init(IPickup pickup) { name = $"{pickup.GetComponentId()["name"]}.{pickup.GetComponentId()["pickupType"]}"; pickupDescription = pickup.GetShortDescription(); pickupType = pickup.GetPickupType(); ReflectionUtil.GetStoredObject(out StoredObject lootObject, pickup, pickup.GetComponentId()); loot = lootObject; }