GithubHelp home page GithubHelp logo

unity_ingame_consoledebugger's Introduction

Debugger-For-Unity

debugger at runtime

How To Use

Just drag the prefab into the hierachy, or add the script named "Debugger" in any GameObject.

Custom Setting

In inspector of the "Debugger" Script, "Drag If You Want" concluds the log images, GuiSkin and MaskCanvas. The log image will show at the small icon. Skin will chagned all the gui skin of the debugger. The Mask Canvas is used after click the icon and main window shows, it decides the click will work only in the debugger or both debugger and your game. The "Settings" in inspector of "Debugger" Script let you changed some parameters of each window.

Invoke Build-In Game Methods

Just add your functions in the script named "Debugger.Debug.CustomMethods". And the most important is adding some of the below attributes above your functions.
[DebuggerButtonDebug(string descrition, int priority = 0)]
[DebuggerSelectDebug(string descrition, int priority = 0)]
[DebuggerCodeDebug(string customCode, string descrition, int priority = 0)]
Also, this class is a partial class of "Debugger" script which you draged into inspector before, so it is a monobehaviour. You can use awake, start and whatever Unity Engion Methods just make sure it is not duplicated defined because it is a partial class.

Reference:

unity_ingame_consoledebugger's People

Contributors

hemingfei avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

hengle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.