ButtonFunction.Update C# (CSharp) Method

Update() private method

Called every frame
private Update ( ) : void
return void
    void Update()
    {
        // If xbox start button (Windows/Linux) or the 1 key is pressed, start the game
        if (InputManager.PlayerStartInput > float.Epsilon || Input.GetKeyDown(KeyCode.Return))
        {
            Application.LoadLevel("OriginalScene");
        }
    }
ButtonFunction