Experimental: this API is experimental and might be changed or removed in the future.

AssetImportContext.LogImportWarning

Switch to Manual
public void LogImportWarning (string msg, Object obj);

Parameters

msgThe warning message.
objOptional Object that is targeted by the warning.

Description

Logs a warning message encountered during import.

使用此方法警告用户出现非严重问题。此方法输出到控制台。控制台中的跟踪与资源链接。