C# Class UnityEditor.AssetPostprocessor

AssetPostprocessor lets you hook into the import pipeline and run scripts prior or after importing assets.

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
LogError void
LogWarning void

Public Methods

Method Description
GetPostprocessOrder ( ) : int

Override the order in which importers are processed.

GetVersion ( ) : uint

Returns the version of the asset postprocessor.

LogError ( string warning, [ context ) : void

Logs an import error message to the console.

LogWarning ( string warning, [ context ) : void

Logs an import warning to the console.

Private Methods

Method Description
LogError ( string warning ) : void
LogWarning ( string warning ) : void

Method Details

GetPostprocessOrder() public method

Override the order in which importers are processed.

public GetPostprocessOrder ( ) : int
return int

GetVersion() public method

Returns the version of the asset postprocessor.

public GetVersion ( ) : uint
return uint

LogError() public method

Logs an import error message to the console.

public LogError ( string warning, [ context ) : void
warning string
context [
return void

LogWarning() public method

Logs an import warning to the console.

public LogWarning ( string warning, [ context ) : void
warning string
context [
return void