Skip to content

This command console tool is for developers to create commands to can use during the game to make it easier to debug and test the game.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

clinealex10/ACTools_RuntimeCommandConsole

Repository files navigation

ACTools: Runtime Command Console

This debug console is based on Game Dev Guide's Debug Cheat Console: https://www.youtube.com/watch?v=VzOEM-4A2OM&t=0s.

This runtime command console tool is for developers to create commands to can use during the game to make it easier to debug and test the game. This package requires ACTools: Core before it can work properly.
Feel free to use it for whatever. If you wouldn't mind, please credit me. It would be appreciated!

Installation:

For easy updates, use the following git URL through the Package Manager: https://github.com/mob-sakai/UpmGitExtension.git
    I guess you could use a submodule as well, but I can't help you with that.

In the Package Manager, use the following git URL: https://github.com/Cpt-Jack04/ACTools_RuntimeCommandConsole.git

In the Unity Editor, go to Tools>ACTools>Runtime Command Console>Initialize Console. Click the "Generate Required Folders" button, wait for the folders to be generated, then click the "Generate Required Assets".

In the Project Window, navigate to Assets/Resources/ACTools/Prefabs and open the Console Canvas Prefab there. Open the "Events" dropdown and open the "Command Map" dropdown.

With the Console Canvas Prefab still open, navigate to Assets/Resources/ACTools/ScriptableObjects. You will need to add some listeners from the Console Controller to a few events.

  1. In the "Toggle Console" event, add the "Console Controller" ScriptableObject. Then select the "CreateOrToggleConsole" method as the function.
  2. In the "Submit" event, add the "Console Controller" ScriptableObject. Then select the "OnSubmit" method as the function.
  3. In the "Select Input Field" event, add the "Console Controller" ScriptableObject. Then select the "SelectInputField" method as the function.

To open the console, press the grave accent key (`).

If you need to get in touch with me, please email me or @ me on Twitter. You can find those on my profile on GitHub. If you feel like supporting me, click the button down below.

Buy Me A Coffee

[!INCLUDE <ACTools_RuntimeCommandConsole>]

About

This command console tool is for developers to create commands to can use during the game to make it easier to debug and test the game.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages