function LogError (warning : string, context : Object = null) : void
Description描述
Logs an import error message to the console.
记录一个导入错误消息到控制台
Pass an asset as the second argument to link the error to the asset in the editor.
传一个资源,第二个参数连接错误信息到资源
参考:Debug.LogError .