文档

Unity Engine

Unity Engine

LogException(Exception, Object)

A variant of ILogHandler.LogFormat that logs an exception message.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
void LogException(Exception exception, Object context)

Parameters

exception

Runtime Exception.

context

Object to which the message applies.