Class AssetPostprocessorContext | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class AssetPostprocessorContext

    Inheritance
    Object
    AssetPostprocessorContext
    Namespace: UnityEngine.AssetGraph
    Syntax
    public class AssetPostprocessorContext

    Constructors

    AssetPostprocessorContext()

    Declaration
    public AssetPostprocessorContext()

    AssetPostprocessorContext(String[], String[], String[], String[], Stack<AssetPostprocessorContext>)

    Declaration
    public AssetPostprocessorContext(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths, Stack<AssetPostprocessorContext> ctxStack)
    Parameters
    Type Name Description
    String[] importedAssets
    String[] deletedAssets
    String[] movedAssets
    String[] movedFromAssetPaths
    Stack<AssetPostprocessorContext> ctxStack

    Properties

    DeletedAssetPaths

    Declaration
    public string[] DeletedAssetPaths { get; }
    Property Value
    Type Description
    String[]

    ImportedAssetPaths

    Declaration
    public string[] ImportedAssetPaths { get; }
    Property Value
    Type Description
    String[]

    ImportedAssets

    Declaration
    public List<AssetReference> ImportedAssets { get; }
    Property Value
    Type Description
    List<AssetReference>

    IsAdhoc

    Declaration
    public bool IsAdhoc { get; }
    Property Value
    Type Description
    Boolean

    MovedAssetPaths

    Declaration
    public string[] MovedAssetPaths { get; }
    Property Value
    Type Description
    String[]

    MovedAssets

    Declaration
    public List<AssetReference> MovedAssets { get; }
    Property Value
    Type Description
    List<AssetReference>

    MovedFromAssetPaths

    Declaration
    public string[] MovedFromAssetPaths { get; }
    Property Value
    Type Description
    String[]

    Methods

    HasValidAssetToPostprocess()

    Declaration
    public bool HasValidAssetToPostprocess()
    Returns
    Type Description
    Boolean

    Init(Stack<AssetPostprocessorContext>)

    Declaration
    public void Init(Stack<AssetPostprocessorContext> ctxStack)
    Parameters
    Type Name Description
    Stack<AssetPostprocessorContext> ctxStack
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023