Coder Social home page Coder Social logo

console's Introduction

Sup

console's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

console's Issues

Exposing built-in settings and functionality

Issue:

On a QWERTY keyboard layout, the console key is actually the "^" caret key.
In Unity, this translates to KeyCode.Backslash (numeric: 92)

Suggestions

  1. Would be cool if this could be automatically recognized which layout is used and then chooses the appropriate default console key.

  2. A mention of this in the FAQ could probably resolve some starting issues for ppl with this layout like myself :)

  3. Console.IsConsoleChar also needs include this keycode. It would be great if this would be a public char array to add/remove chars. ๐Ÿ‘

Can't Initialize console

when scene manager open new scene and click on ~ can't open it and if insert in void start(){} so it reports error.

Expose useful properties

Use case

  • I want to access all lines / text printed to the console to export it into a file but text is private
  • I want to access the history but history is private
  • I want to change Console.HistorySize but it is private
  • I want to change the style, consoleStyle and fpsCounterStyle are private

Suggestion

Expose methods / properties to access and optional modify it.

Extensions get command has reflection exception

Trace:

TypeLoadException: Could not resolve type with token 01000052 (from typeref, class/assembly System.Security.SecuritySafeCriticalAttribute, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
  at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
  at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00013] in <90a642d7960f4705a593893ec21af00c>:0 
  at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in <90a642d7960f4705a593893ec21af00c>:0 
  at System.Reflection.MonoMethod.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x00000] in <90a642d7960f4705a593893ec21af00c>:0 
  at Popcron.Console.Extensions.GetCommand (System.Reflection.MemberInfo member) [0x00000] in <575704bda24940fbaf49a680370d44f6>:0 
  at Popcron.Console.Command.Create (System.Reflection.MethodInfo method, System.Type type) [0x00000] in <575704bda24940fbaf49a680370d44f6>:0 
  at Popcron.Console.Library.FindCommands () [0x00049] in <575704bda24940fbaf49a680370d44f6>:0 
  at Popcron.Console.Library.get_Commands () [0x00007] in <575704bda24940fbaf49a680370d44f6>:0 
  at Popcron.Console.Category.Create (System.Type type) [0x00018] in <575704bda24940fbaf49a680370d44f6>:0 
  at Popcron.Console.Library.FindCategories () [0x0003d] in <575704bda24940fbaf49a680370d44f6>:0 
  at Popcron.Console.Parser.Initialize () [0x00000] in <575704bda24940fbaf49a680370d44f6>:0 
  at Console.Awake () [0x0001b] in <575704bda24940fbaf49a680370d44f6>:0 

Adding a License

I am looking to use your console in a project I'm working on, but I don't see a License included in the repository.
Are there plans to add one?

Console.Key property

In your description you say, that there is a Console.Key property, which can be changed to assing a different opening-key. However in your Code (inside the IsConsoleKey methode) you hardcode the value to BackQuote and Tilde. As a user with a German Keyboard-layout i have neither Key directly on my Keyboard. Therefore i would like to ask you, to implemet the Console.Key property as described in your Readme.

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.