Struct ReproItem
Represents an item to include in the new project.
Inherited Members
Namespace: Unity.ReproProjectWizard.Editor.Wizard
Assembly: solution.dll
Syntax
[Serializable]
public struct ReproItem
Remarks
Each item can be a single asset or a wildcard path to a group of assets. Unity also includes all dependencies of these assets in the new project.
Examples
Initializes a new wildcard ReproItem that adds all .png files in the ExampleImages directory to the repro project.
using Unity.ReproProjectWizard.Editor.Wizard;
public class ReproItemScript
{
public ReproItem exampleReproItem = new ReproItem()
{
assetType = ProjectAssetType.Wildcard,
assetPath = "ExampleImages/**.png"
};
}
Fields
| Name | Description |
|---|---|
| assetPath | The path to the asset to include in the new project. |
| assetType | The type of asset to include in the new project. |
Properties
| Name | Description |
|---|---|
| AssetObject | The asset to include in the new project. |