{"id":13661691,"url":"https://github.com/anarkila/DeveloperConsole","last_synced_at":"2025-04-25T03:30:59.116Z","repository":{"id":41328670,"uuid":"424329721","full_name":"anarkila/DeveloperConsole","owner":"anarkila","description":"Developer Console for Unity","archived":true,"fork":false,"pushed_at":"2023-07-23T10:06:34.000Z","size":81324,"stargazers_count":36,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-10T16:45:58.518Z","etag":null,"topics":["csharp","debugging-tool","unity","unity3d","unity3d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anarkila.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-03T18:01:05.000Z","updated_at":"2024-08-02T17:17:44.000Z","dependencies_parsed_at":"2024-08-02T05:11:25.307Z","dependency_job_id":"e4bfd6b5-a662-4b39-8d48-8cba30663830","html_url":"https://github.com/anarkila/DeveloperConsole","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarkila%2FDeveloperConsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarkila%2FDeveloperConsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarkila%2FDeveloperConsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarkila%2FDeveloperConsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anarkila","download_url":"https://codeload.github.com/anarkila/DeveloperConsole/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250747705,"owners_count":21480696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","debugging-tool","unity","unity3d","unity3d-plugin"],"created_at":"2024-08-02T05:01:39.676Z","updated_at":"2025-04-25T03:30:54.096Z","avatar_url":"https://github.com/anarkila.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# Developer Console\n\nDeveloper Console for Unity with easy integration to existing projects.\n\n[WebGL demo](https://anarkila.github.io/DeveloperConsole/Demo)\n\n### Use cases \n- Development cheats\n- Debug assistance\n- In game cheat codes, change settings easily etc\n\n![thumbnail](https://github.com/anarkila/DeveloperConsole/blob/main/Images/large_dark.PNG)\n\n## Getting Started\n1. Download and import [DeveloperConsole package](https://github.com/anarkila/DeveloperConsole/releases/download/v1.0.2/DeveloperConsole_1.0.2.unitypackage) into your project\n2. Drag \u0026 drop DeveloperConsole prefab into your scene\n3. Add ``[ConsoleCommand()]`` attribute to your methods like below. See [ConsoleExamples.cs](https://github.com/anarkila/DeveloperConsole/blob/main/Console/Assets/DeveloperConsole/Example%20scenes/Example%20scripts/ConsoleExamples.cs) for all examples. \n4. Play your scene and press ``§`` to toggle Developer Console\n\n```C#\nusing UnityEngine;\n\npublic class ExampleScript : MonoBehaviour {\n\n    [ConsoleCommand(\"test\")]\n    private void Test() {\n        Debug.Log(\"Called 'test' from Console!\");\n    }\n    \n    [ConsoleCommand(\"test_int\")]\n    private void TestInt(int i) {\n       // single parameter allowed types: \n       // int, float, string, bool, double, char, string[], Vector2, Vector3, Vector4, Quaternion\n       Debug.Log(string.Format(\"Called 'test_int' with value: {0} from Console!\", i));\n    }\n\n    [ConsoleCommand(\"test_multi\")]\n    private void TestMulti(int i, float f) {\n       // multi parameter allowed types:\n       // int, float, string, bool, double, char\n       Debug.Log(string.Format(\"Called 'test_multi' with value: {0} and {1} from Console!\", i, f));\n    }\n}\n```\n\n## Features\n\n- Call static, non-static and Unity Coroutines methods (both public and private)\n- No parameter and optional parameter(s) support\n- Single parameter support with following types:\n    - int, float, string, bool, double, char, string[], Vector2, Vector3, Vector4, Quaternion\n- Multi parameter support with following types:\n    - int, float, string, bool, double, char\n- Easy drag \u0026 drop setup\n- Mono and IL2CPP support\n- Desktop and WebGL support\n- Domain/Scene reload support ([Enter Play Mode](https://docs.unity3d.com/Manual/ConfigurableEnterPlayMode.html))\n- Simple static [runtime API](https://github.com/anarkila/DeveloperConsole/blob/main/Console/Assets/DeveloperConsole/Scripts/Console.cs)\n- 2 GUI styles: [Large](https://github.com/anarkila/DeveloperConsole/blob/main/Images/large_dark.PNG) and [Minimal](https://github.com/anarkila/DeveloperConsole/blob/main/Images/minimal.png)\n- Draggable \u0026 resizable window (Large GUI only)\n- Log messages into Console Window (``Console.Log``, ``Debug.Log`` and ``Debug.LogError``)\n- Input predictions\n- [Settings](https://github.com/anarkila/DeveloperConsole/blob/main/Images/settings.PNG) to tweak\n- GUI themes ([Dark](https://github.com/anarkila/DeveloperConsole/blob/main/Images/large_dark.PNG), [Darker](https://github.com/anarkila/DeveloperConsole/blob/main/Images/large_darker.png), [Red](https://github.com/anarkila/DeveloperConsole/blob/main/Images/large_red.PNG) or Custom)\n- Documentation and example scenes\n\n## Default Commands\nDeveloper Console comes with few commands by default.\n\n* ``help`` - Print list of available commands\n* ``quit`` - Quit the application\n* ``close`` - Close Console\n* ``clear`` - Clear all Console messages\n* ``reset`` - Reset Console window to default size and position (Large GUI only)\n* ``max_fps (int)`` - Set [Application.TargetFrameRate](https://docs.unity3d.com/ScriptReference/Application-targetFrameRate.html)\n* ``console_style`` - Toggle GUI style between Large and Minimal\n\nEditor and Development build only:\n\n* ``scene_loadindex (int)`` - Load scene asynchronously by build index\n* ``scene_addloadindex (int)`` - Load scene asynchronously additively by build index\n* ``scene_loadname (string)`` - Load scene asynchronously by scene name\n* ``scene_unloadindex (int)`` - Unload scene asynchronously by build index\n* ``scene_unloadname (string)`` - Unload scene asynchronously by scene name\n* ``scene_information`` - Print Scene count and names\n* ``empty`` - Log empty line to console\n* ``debug_renderinfo`` - Print rendering information: High and Avg FPS, highest draw call, batches, triangle and vertices count. This command is editor only.\n* ``log_to_file`` - Log all current messages to .txt file. This command is Editor only.\n\n## Logging\n``Console.Log(\"hello\")`` to output directly into Developer Console window. \n\n``Console.Log(\"hello\", Color.red)`` with color.\n\n``Console.Log(\"\u003ccolor=red\u003ehello\u003c/color\u003e\")`` with Rich Text color.\n\nBy default Unity ``Debug.Log()`` or ``Debug.LogError()`` messages will also output to Developer Console.\n\n## Notes\n- Requires Unity 2019 or later\n- Uses old Unity input system\n- Uses Gameobject based UI\n- Uses TextMeshPro","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanarkila%2FDeveloperConsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanarkila%2FDeveloperConsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanarkila%2FDeveloperConsole/lists"}