コード例 #1
0
    // Main update
    private void Update()
    {
        // Controller will be updated regardless of game state
        controllerInput.GameUpdate();

        // Runs the state machine for the entire game
        currentState.Update();
    }