Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Set Stack Trace Log Type#

Application / Set Stack Trace Log Type

Description#

Executes the Set Stack Trace Log Type static method of the Application class

Parameters#

Name Description
Log Type
Stack Trace Type

Code#

// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Title("Set Stack Trace Log Type")]
    [Category("Application/Set Stack Trace Log Type")]
    [Description("Executes the Set Stack Trace Log Type static method of the Application class")]
    
    [Image(typeof(IconCog), ColorTheme.Type.TextLight)]
    [Keywords("App, Game, Settings, Configuration")]
    
    [Parameter("Log Type")]
    [Parameter("Stack Trace Type")]
    
    [Serializable]
    public class GenInstructionApplication_SetStackTraceLogType_2 : Instruction
    {
        [SerializeField] private LogType m_LogType = default;
        
        [SerializeField] private StackTraceLogType m_StackTraceType = default;
        
        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Application");
            string method = TextUtils.ThemeAsKeyword("Set Stack Trace Log Type");
            return $"{className} {method} ({this.m_LogType}, {this.m_StackTraceType})";
        }
        
        protected override Awaitable Run(Args args)
        {
            Application.SetStackTraceLogType(
                this.m_LogType,
                this.m_StackTraceType
            );
            
            return Done;
        }
    }
}

Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.