ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


LogError(string, Object)

Logs an import error message to the console.
読み終わるまでの所要時間 1 分最終更新 22日前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Deprecated. Use context.LogImportError(string, Object) instead.
public void LogError(string warning, Object context)

Parameters

warning


context

Remarks

Pass an asset as the second argument to link the error to the asset in the editor.
Additional Resources: Debug.LogError.