API Referenceglobal
PackageManifestclass
object→PackageManifest
Constructors1
Showing 1 constructors
public PackageManifest()
No results match this filter.
Methods6
Showing 6 methods
public System.Threading.Tasks.Task AddTextFile(string contents, string relativePath)
| Parameter | Type | Description |
|---|---|---|
| contents | string | — |
| relativePath | string | — |
Returns:
Task—public System.Threading.Tasks.Task BuildFromAssets(Sandbox.Project project, Editor.IProgress progress = null, System.Threading.CancellationToken cancel = null)
| Parameter | Type | Description |
|---|---|---|
| project | Project | — |
| progress = null | IProgress | — |
| cancel = null | CancellationToken | — |
Returns:
Task—public System.Threading.Tasks.Task BuildFromSource(Sandbox.Project addon, Editor.IProgress progress = null, System.Threading.CancellationToken cancel = null)
| Parameter | Type | Description |
|---|---|---|
| addon | Project | — |
| progress = null | IProgress | — |
| cancel = null | CancellationToken | — |
Returns:
Task—public Editor.ProjectPublisher.ProjectFile FindAsset(string relativePath)
| Parameter | Type | Description |
|---|---|---|
| relativePath | string | — |
public static bool LooseFileAllowed(string file, bool allowSourceFiles)
| Parameter | Type | Description |
|---|---|---|
| file | string | — |
| allowSourceFiles | bool | — |
Returns:
bool—public string ToJson()
Returns:
string—No results match this filter.
Properties5
Showing 5 properties
public System.Collections.Generic.List`1<Editor.ProjectPublisher.ProjectFile> Editor.ProjectPublisher.PackageManifest.Assets { get; set; }
public System.Collections.Generic.HashSet`1<string> Editor.ProjectPublisher.PackageManifest.CodePackageReferences { get; set; }
List of packages that the code references
Returns:
HashSet<string>—public string Editor.ProjectPublisher.PackageManifest.Description { get; set; }
Returns:
string—public bool Editor.ProjectPublisher.PackageManifest.IncludeSourceFiles { get; set; }
Returns:
bool—public string Editor.ProjectPublisher.PackageManifest.Summary { get; set; }
Returns:
string—No results match this filter.