Author Topic: Mimic command line interface input  (Read 2433 times)

Mhason

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 3
    • View Profile
Mimic command line interface input
« on: April 29, 2014, 07:41:45 PM »
Hi,

I am using the NGUI chat example to mimic a command line environment but would like to have it place the input field in the actual chat panel after the c:\ or whatever is returned from the last commands so that the player feels like it's more like a real command line interface. Do you have any advice on the easiest approach for something like that?

Thanks,

Mhason

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Mimic command line interface input
« Reply #1 on: April 30, 2014, 06:27:41 PM »
I'd use multiple labels here. Input's label would begin where the "c:\" ends.