Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LogWarning(string, Object)

Logs an import warning to the console.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. Use context.LogImportWarning(string, Object) instead.
public void LogWarning(string warning, Object context)

Parameters

warning


context

Remarks

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