Use the In-game Debug Console from yasirkula on your next project. Find this GUI tool & more on the Unity Asset Store.
插件导入 在Unity商城搜索“debug”就可以找到这款插件,类似的还有其他一些插件。这个插件体积小,更新也比较即时。 导入的内容在【Plugins/IngameDebugConsole】目录下。 插件使用 将【Plugins/IngameDebugConsole】目录下的【IngameDebugConsole】预制件添加到场景中即可,这是会在平米右边的中间出现一个小的提示图标。
Forum Thread:http://forum.unity3d.com/threads/in-game-debug-console-with-ugui-free.411323/ Discord:https://discord.gg/UJJt549AaV GitHub Sponsors ☕ ABOUT This asset helps you see debug messages (logs, warnings, errors, exceptions) runtime in a build (also assertions in editor) and exec...
using UnityEngine; using IngameDebugConsole; public class TestScript : MonoBehaviour { [ConsoleMethod( "cube", "Creates a cube at specified position" )] public static void CreateCubeAt( Vector3 position ) { GameObject.CreatePrimitive( PrimitiveType.Cube ).transform.position = position; } } ...
2.EditorConsolePro插件,也挺不错的,就是要付费,还有就是核心代码以dll方式提供,不方便魔改。 2.3 手机包常用日志查询方法 此处提供几种常用的手机包查看日志方法: 1.免费日志查看插件LogView,可以在手机上方便的查看日志; 图1 logview查看日志插件 2.github库上的开源日志查看库UnityIngameDebugConsole,不仅能够看...
Runtime Cmd-UnityIngameDebugConsole 首先是我们Runtime的Cmd,推荐:github.com/yasirkula/Un插件 下载之后我们只需要把 放到场景中即可 如果我们想要在游戏中根据命令执行某个方法(这是最简单直接的用法,同样还支持参数传递,返回值,参数重定向等多种功能,可以去插件Readme查看更多) [ConsoleMethod("测试await/async的...
If you want to pause the game when the console opens create a script that inherits fromIPauseHandlerand assign an instance of it toDebugConsole.PauseHandler. Attach the script to the debug console game-object. Additionally, you can use the built-in classGenericPauseHandler. ...
Use the Ingame Logs Viewer MT - Console, Debug, Metrics, Multiplatform & More from MT Assets on your next project. Find this utility tool & more on the Unity Asset Store.
2-1-40、UnityIngameDebugConsole(终端查看控制台信息) 简介: In-game Debug Console插件可以在打包发布以后,程序运行时方便的看到控制台信息,在一些特定程序开发的调试过程中非常有帮助。例如在开发一些AR程序的时候,如果官方没有提供支持,则只能将程序发布到移动设备后才能调试,这个时候,能在移动设备看到控制台信息对...
有打印日志和搜索的功能, 窗口大小可调 支持移动端, 直接用就行了 using System;using System.Collections.Generic;using System.IO;using System.Text;using UnityEngine;namespace Consolation{/// /// A console to display Unity's debug logs in-game./// class ConsoleGUI : MonoBehaviour{#region system...