Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

how to use this in project tiny?

Discussion in 'Project Tiny' started by GG_XD, Mar 11, 2019.

  1. GG_XD

    GG_XD

    Joined:
    May 15, 2018
    Posts:
    2
  2. sniffle63

    sniffle63

    Joined:
    Aug 31, 2013
    Posts:
    365
    Im not sure how to store the Input as an Event, it may be doable but,

    Code (JavaScript):
    1. if(ut.Runtime.Input.getKey(ut.Core2D.KeyCode.E)){
    2. Console.Log("Detected key code: " + E);
    3. }
     
  3. GG_XD

    GG_XD

    Joined:
    May 15, 2018
    Posts:
    2
    thank you for reply~
    but if I need a-z?
    I don't know how.
    so I need type 26 kinds?
     
  4. sniffle63

    sniffle63

    Joined:
    Aug 31, 2013
    Posts:
    365
    There might be a way to do it with events like your attempting to do, but i cant say for sure.
    So with the knowledge i have on typescript and unity tiny, i believe youll have to type it 26 times.
    Hopefully if im wrong someone will post!