void Update()
    {
        aButton = cController.ReturnJumpButton();
        timer  += Time.deltaTime;

        if (Input.GetKey("joystick 1 button " + aButton) || Input.GetKey(KeyCode.A))
        {
            Application.LoadLevel(nextLevel);
        }
    }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     jumpButton = controllerSettings.ReturnJumpButton();
 }