Ejemplo n.º 1
0
    protected ItemTransferrable GenerateContent()
    {
        contentObject = new GameObject();
        contentObject.transform.SetParent(container);
        contentObject.name = content.GetType().Name;
        ItemTransferrable component = contentObject.AddComponent(content.GetType()) as ItemTransferrable;

        return(component);
    }