Profile image

Dev Console Commands

50.0k BeastHunter  2.3 years ago

I just learned how to turn on the Dev Console. Does anybody have any interesting commands for it?

  • Log in to leave a comment
  • Profile image
    17.1k L3FT2R1GHT

    @G2 it’s five times, not three.

    +1 5 months ago
  • Profile image
    6,891 G2

    i read somewhere that you can tap three times on ipad to open devconsole on ios but i have confirmed that as false.

    +2 2.2 years ago
  • Profile image
    313k Gestour


    • A single greater than sign will show a list of components on the root game objects. When appended to the end of a command string selecting a game object, it will show a list of components attached to that game object.


      • A double greater than sign will show a list of all components in the scene. When appended to the end of a command string selecting a game object, it will show a list of all components attached to any child game object of the selected object.


        . - A single period after a command string selecting a game object or component will show a list of all public methods, properties, and fields on that object.


        .. - A double period after a command string selecting a game object or component will show a list of all public and private methods, properties, and fields on that object.


        Methods on game objects and components can be invoked using the commands above using the same approach for passing arguments to commands that was discussed above. Selecting a field or property and submitting the command will return the value of that member (using the ToString() method to display it in the console). Selecting a field or property and passing an argument of the appropriate type will set that member to the specified value.



    +3 2.3 years ago
  • Profile image
    313k Gestour

    Hitting the ` key will open up the developer console. The developer console will show all calls made to the various Debug.Log methods. It will not start tracking log statements however until it is opened at least once during the game session. Clicking on the text of a log entry should open a details panel below with additional details on the log entry and/or any truncated text of the log message if it was too long.

    The input field of the console provides the ability to execute commands. The up/down arrows allow you to cycle through recent commands. There are only a few built in commands (so far).

    ClearLog - Clears any messages currently in the log.
    Help - Provides help information for the dev console (make sure to click the entry for details).
    Pause - Pauses the game
    Unpause - Unpauses the game
    The console also provides the ability for mods to register custom commands. The DevConsole service in the mod API contains methods for registering and unregistering commands. Make sure to unregister your commands when appropriate to avoid memory leaks!

    When invoking commands with command line arguments, the arguments must follow the command and be separated with spaces. If the argument includes spaces, it should be wrapped in quotes. Not all argument types are supported by the dev console (most of the basics should be covered though). If a command requires an argument type that is not currently supported, the DevConsole service in the mod API allows for the registration of custom argument parsers.

    The other major feature of the dev console is allowing users to explore the game object hierarchy and interact with those game objects and components. The following list of commands provide an auto-complete popup dialog that allows users to find game objects and components in the scene as well as invoke methods, on those objects and get or set fields and properties.

    / - A single forward slash shows the list of root game objects. When appended to the end of a command string selecting a game object or component, it will show a list of immediate child game objects of the selected object.
    // - A double forward slash shows the list of all game objects in the scene. When appended to the end of a command string selecting a game object or component, it will show a list of all child game objects of the selected object.

    • A single greater than sign will show a list of components on the root game objects. When appended to the end of a command string selecting a game object, it
    +3 2.3 years ago
  • Profile image
    35.2k MrCarrot

    @BeastHunter ok

    +2 2.3 years ago
  • Profile image
    50.0k BeastHunter

    @AviationCat007 Tap the settings button 5 times.

    +1 2.3 years ago
  • Profile image
    25.8k Default4

    https://www.simpleplanes.com/Forums/View/1289865/How-to-enable-the-dev-console-on-mobile-other-things-you-can-do-with-it-TU

    +2 2.3 years ago
  • Profile image
    55.6k PapaKernels

    I have a tutorial on the top of my profile for in game screenshots that have what would be good for custom screenshots

    +2 2.3 years ago
  • Profile image
    35.2k MrCarrot

    @BeastHunter how do you turn it on

    +2 2.3 years ago
  • Profile image
    13.8k Kangy

    There should be a guide to this
    I can’t be bothered to write one though

    +4 2.3 years ago
  • Profile image
    50.0k BeastHunter

    @X99STRIKER Thanks!

    +2 2.3 years ago
  • Profile image
    11.9k X99STRIKER

    If you copy paste this
    //maincamera>camera.set_depth 10
    It makes the HUD be gone.
    Good for screenshots.

    +7 2.3 years ago