Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Version 0.2 #4

Merged
merged 7 commits into from Jun 30, 2021
Merged

Upgrade to Version 0.2 #4

merged 7 commits into from Jun 30, 2021

Conversation

sliptrixx
Copy link
Member

Version 0.2 Update

image
This feature update upgrades the hibzz.console project to version 0.2 and includes the following set of features.

Open URLs

  • Pressing the Control key and clicking an HTTPS URL opens the link in the machine's default browser

Default Command Word

  • Added default command words for ConsoleCommands that gets populated when the scriptable objects are created

Colors

image

  • Users can configure the default color of the console text directly from the core object
  • The console log now supports colors and the API makes it really easy to add them
  • We still support the regular Log which prints to the console with the default color
DeveloperConsoleUI.Log("Log Message", Color.green);

image

Scan for ConsoleCommands

  • One of the biggest pain points for me when UI creating new commands is attaching them to the developer console object. To simplify this process, the users can press the "Scan for Commands" button in the Developer Console UI inspector and it would automatically scan all directories and populate the list with ConsoleCommand assets
  • I've also added the option to mark a console command to be ignored when the automatic scan takes place.

Admin Access

  • Console Commands can be marked to require admin access
  • Admin access can be granted using DeveloperConsoleUI.instance.DeveloperConsole.RequestAdminAccess() and this can be dropped in any custom console command script
  • Similarly admin access can be revoked using DeveloperConsoleUI.instance.DeveloperConsole.RevokeAdminAccess()
  • I have included an example Command called AdminPasswordCmd where the user can specify the password, but the users can write any custom command like looking through a network database to gain access
    • Example access command /admin <password>
    • Example revoke command /admin revoke

NEW INPUT SYSTEM SUPPORT!!!

  • This update finally lets users who use the newer Unity Input System to use this package without throwing stupid errors
  • This is big!!!!
  • The functionality is very identical and it works straight out of the box

Yeah, I hope you devs enjoy this update <3

@sliptrixx sliptrixx self-assigned this Jun 30, 2021
@sliptrixx sliptrixx added the enhancement New feature or request label Jun 30, 2021
@sliptrixx sliptrixx merged commit d697a3d into main Jun 30, 2021
@sliptrixx sliptrixx deleted the version-0.2 branch June 30, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant