Exemple #1
0
        void OnAddMilkshakeLoan(List <Loan <MilkshakeGroup> > loan)
        {
            LoanRow row = ObjectPool.Instantiate <LoanRow> ();

            row.transform.SetParent(RectTransform);
            row.Init("Milkshakes", loan[0]);
        }
Exemple #2
0
        void OnAddCoffeeLoan(List <Loan <CoffeeGroup> > loan)
        {
            LoanRow row = ObjectPool.Instantiate <LoanRow> ();

            row.transform.SetParent(RectTransform);
            row.Init("Coffee", loan[0]);
        }