Class CreateContentArgs
Support class to make a content request with IUgcService.CreateContentAsync Contains all the parameters of the request
Inherited Members
Namespace: Unity.Services.Ugc.Bridge
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public class CreateContentArgs
Constructors
CreateContentArgs(string, string, Stream)
Construct a new CreateContentArgs object.
Declaration
public CreateContentArgs(string name, string description, Stream asset)
Parameters
Type | Name | Description |
---|---|---|
string | name | The title of the content |
string | description | The text describing the content |
Stream | asset | The stream containing the binary payload of the content |
Properties
Asset
The stream containing the binary payload of the content
Declaration
public Stream Asset { get; set; }
Property Value
Type | Description |
---|---|
Stream |
CustomId
Custom Id for content
Declaration
public string CustomId { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
The text describing the content
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
IsPublic
True if the content needs to be public, false otherwise
Declaration
public bool IsPublic { get; set; }
Property Value
Type | Description |
---|---|
bool |
Metadata
Metadata of the content
Declaration
public string Metadata { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of the content
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
TagsId
The list of tag ids selected for the content
Declaration
public List<string> TagsId { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Thumbnail
The stream containing the image representing the content
Declaration
public Stream Thumbnail { get; set; }
Property Value
Type | Description |
---|---|
Stream |