Giter Site home page Giter Site logo

Comments (7)

Wokarol avatar Wokarol commented on July 19, 2024

I've just tested few things and it looks like it supports mobile very well, with just one exception... buttons for showing console are almost unclickable on FHD 5.1'' phone.

from command_terminal.

Wokarol avatar Wokarol commented on July 19, 2024

And some kind of auto-completion button for mobiles would be cool addition too

from command_terminal.

ofusion avatar ofusion commented on July 19, 2024

I see all controls use KeyboradEvents, how it is usable on mobile device?

from command_terminal.

Wokarol avatar Wokarol commented on July 19, 2024

Simply tapping on input field brings up keyboard.

from command_terminal.

ofusion avatar ofusion commented on July 19, 2024

Yes, I know that, but you should open terminal first, Normally I would like a special tap action on some specified screen position to open terminal rather then keep terminal showing all the time using "ShowGUIButtons" option.

from command_terminal.

stillwwater avatar stillwwater commented on July 19, 2024

I can't add a special tap action as it might interfere with controls on some games. You can implement custom functionality for enabling the console using Terminal.SetState:

void Start() {
    var terminal = GetComponent<Terminal>(); // Reference to terminal component

    terminal.SetState(TerminalState.OpenSmall); // Open small terminal window
    terminal.SetState(TerminalState.OpenFull);  // Open full terminal window
    terminal.SetState(TerminalState.Close);     // Close terminal window

    terminal.ToggleState(); // Shortcut for switching between opened and closed windows
}

And some kind of auto-completion button for mobiles would be cool addition too

I agree I'll look into this.

from command_terminal.

Wokarol avatar Wokarol commented on July 19, 2024

I think that adding GUI scaling for terminal would be good because on FHD Phone everything is small, and on QHD Phone (1440p) everything is barely readable

from command_terminal.

Related Issues (20)

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.