Exemplo n.º 1
0
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.L))
     {
         Loan loan = LoanManager.NewLoan();
         wealth += loan.Amount;
     }
     if (Input.GetKeyDown(KeyCode.K))
     {
         LoanManager.GetLoan().Print();
     }
 }