LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Application.SetStackTraceLogType

public static void SetStackTraceLogType(LogType logType, StackTraceLogType stackTraceType);

Description

Set stack trace logging options. The default value is StackTraceLogType.ScriptOnly.

Useful when you want more debugging information when a log message is printed to the log. For example, if you set StackTraceLogType.Full, both native and managed stack traces will be printed for messages.