{"id":13663709,"url":"https://github.com/pointcache/Unity3d-BeastConsole","last_synced_at":"2025-04-25T17:32:37.574Z","repository":{"id":49396786,"uuid":"68542049","full_name":"pointcache/Unity3d-BeastConsole","owner":"pointcache","description":"Console for all your unity needs","archived":false,"fork":false,"pushed_at":"2019-02-26T23:37:51.000Z","size":12321,"stargazers_count":155,"open_issues_count":2,"forks_count":15,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-10T20:38:16.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pointcache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-18T19:17:36.000Z","updated_at":"2024-11-10T06:07:25.000Z","dependencies_parsed_at":"2022-09-07T06:20:42.326Z","dependency_job_id":null,"html_url":"https://github.com/pointcache/Unity3d-BeastConsole","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointcache%2FUnity3d-BeastConsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointcache%2FUnity3d-BeastConsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointcache%2FUnity3d-BeastConsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pointcache%2FUnity3d-BeastConsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pointcache","download_url":"https://codeload.github.com/pointcache/Unity3d-BeastConsole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250862171,"owners_count":21499237,"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":[],"created_at":"2024-08-02T05:02:34.973Z","updated_at":"2025-04-25T17:32:37.556Z","avatar_url":"https://github.com/pointcache.png","language":"C#","readme":"\n![License MIT](https://img.shields.io/badge/license-MIT-green.svg)\n\n# Beast Console\n\n![screen](https://i.imgur.com/HwZk4ZJ.jpg)\n\n\n## Recently updated to remove any trace of UGUI. Now its pure IMGUI, with no additional clutter.\n\nThis project is possible because of the effort of amazing people at Cranium Software\nthis project is based of SmartConsole https://github.com/CraniumSoftware/SmartConsole\n\nBeastConsole is evolution (hopefully) of SmartConsole,\n\n\n# Console\n* Backend is created by folks at CraniumSoftware.\n* Use attributes to bind members \n* Register your own arbitrary commands/methods for any object(non monob as well) and provide parameters\n* Autocomplete\n* Both commands and variables support any number of subscribers, modify all objects at once.\n* Multiline\n* Suggestions\n* History\n* ConsoleUtility class containing methods to draw tables. (You can actually use ConsoleUtility pretty much by itself instead of Console class).\n\n# Usage\n\nsetup:\n\tDrop Console prefab in scene, change parameters to your liking.\n \nAttributes:\n\nConsole uses reflection to find attributes, to speed up the whole process we should mark any class that has uses console \nattributes with `[ConsoleParse]` attribute.\n\n```csharp\n\n[ConsoleParse]\npublic class AttributeTest : MonoBehaviour {\n\n    [ConsoleVariable(\"testvar\", \"\")]\n    public float TestVariable = 5f;\n\n    [ConsoleVariable(\"testproperty\", \"\")]\n    public bool TestPropertyVariable\n    {\n        set {\n            Console.WriteLine(\"testproperty was set to: \" + value);\n        }\n    }\n\n\n    [ConsoleCommand(\"testMethod\", \"\")]\n\tvoid TestMethod() {\n        BeastConsole.Console.WriteLine(\"test method works\");\n    }\n\n    [ConsoleCommand(\"testMethodWithParams\", \"\")]\n    public void TestMethodWithParams(float param1) {\n        BeastConsole.Console.WriteLine(\"works :\" + param1.ToString());\n\n    }\n\n    [ConsoleCommand(\"testMethodWith2Params\", \"\")]\n    public void TestMethodWith2Params(float param1, int param2) {\n        BeastConsole.Console.WriteLine(\"works :\" + (param1+ param2).ToString());\n\n    }\n}\n\n\n```\n\nManual:\n\n```csharp\n\npublic float Volume = 1f;\nConsole.RegisterVariable\u003cfloat\u003e(\"Volume\", \"\", x =\u003e Volume = x, this);\n\nConsole.RegisterCommand(\"MoveUp\", \"\", this, MoveUp);\n   \nprivate void MoveUp(string[] val) {\n   transform.position += new Vector3(0, System.Convert.ToSingle(val[1]) , 0);\n}\n\n```\nManual method requires you to unregister commands and variables when done with an object.\n\nSee Example folder for more examples.\n\n","funding_links":[],"categories":["Console/Command/Shell/Debugger","C\\#","Open Source Repositories","Open Source Packages"],"sub_categories":["Console"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpointcache%2FUnity3d-BeastConsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpointcache%2FUnity3d-BeastConsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpointcache%2FUnity3d-BeastConsole/lists"}