Search Unity

Console Commands

Discussion in 'General Discussion' started by jt78, Mar 16, 2011.

Thread Status:
Not open for further replies.
  1. jt78

    jt78

    Joined:
    Mar 15, 2011
    Posts:
    2
    Hi, I'm developing a script prefab for Unity at the moment that can be dropped into any game and will add a developers console inside the game using the Unity GUI system. If you don't know what I'm talking about, this is the kind of thing you see in almost any game when you hit the tilde key. It's usually displayed at the top of the screen and lets you type in commands to test the game, for instance turn off collision or enter god mode. I've added a few obvios commands to my script such as moving objects etc. But I'm now wondering what you guys would want most as commands for this console? Go crazy ;)

    - James :D
     
  2. SteveK

    SteveK

    Joined:
    Mar 2, 2011
    Posts:
    25
    A command to enable profiling information. It's always interesting and useful to see the renderer statistics or the breakdown of what uses the most CPU per frame.
     
  3. 2dfxman1

    2dfxman1

    Joined:
    Oct 6, 2010
    Posts:
    1,065
    No texture mode, wireframe mode...
     
  4. tatoforever

    tatoforever

    Joined:
    Apr 16, 2009
    Posts:
    3,967
    Wireframe mode in game isn't possible right now.
     
  5. jt78

    jt78

    Joined:
    Mar 15, 2011
    Posts:
    2
    Thanks alot, good ideas and I'll definitely add them if possible.

    - James :)
     
  6. 2dfxman1

    2dfxman1

    Joined:
    Oct 6, 2010
    Posts:
    1,065
    It is if you have a shader for that :)
     
    angrypenguin likes this.
  7. andyburke

    andyburke

    Joined:
    Jan 4, 2012
    Posts:
    5
    Did anything end up happening with this? I would love to check this out and/or contribute to it if it exists.
     
  8. CorruptedHeart

    CorruptedHeart

    Joined:
    May 4, 2010
    Posts:
    379
  9. SpacePilot1000

    SpacePilot1000

    Joined:
    Dec 23, 2013
    Posts:
    7
    I've also created a simple command window for those interested - just a single script file to add to your game - http://u3d.as/b2L.

    It's new, so if you'd like additional commands, let me know!
     
Thread Status:
Not open for further replies.
unityunity