Search Unity

Help Please with Unity C# Android buttons

Discussion in 'Getting Started' started by FoxBinary, Apr 25, 2017.

  1. FoxBinary

    FoxBinary

    Joined:
    Apr 25, 2017
    Posts:
    2
    Hello ,

    Thank you for taking the time to read this and help me, I am new to C# and unity.

    I have gone through tutorials and I have a basic stucture for my text based game but I want to turn my windows Key inputs in to buttons so it can be published and used on android devices.

    the code I currently have is seen below.

    So please could you help me in a simple template where I can create a 1,2 and 3 or A B and C button so I can change my state for my text based game instead of having "KeyCode.R" ect.

    Thank you

    Sorry for the basic and noob question.

    Kind Regards,
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Go through at least the first half-dozen of these tutorials. The answers you seek are there.