docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ReproItem

    Represents an item to include in the new project.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)