Esempio n. 1
0
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.R))
        {
            CurrencyController currencyCtrler = (CurrencyController)AppController.Instance.GetController(Controller.CURRENCY);
            currencyCtrler.Convert(5);
        }

        if (Input.GetKeyDown(KeyCode.F))
        {
            RecipeController recipeCtrler = (RecipeController)AppController.Instance.GetController(Controller.RECIPE);
            recipeCtrler.CheckRecipe();
        }
    }