Esempio n. 1
0
 public void Initialize(DataContainers.User iUser)
 {
     user = iUser;
     plus.onClick.AddListener(() =>
     {
         AddAmount();
     });
     minus.onClick.AddListener(() =>
     {
         RemoveAmmount();
     });
     memberName.text = user.name;
     amount          = 0;
     amountText.text = amount.ToString() + "x";
 }
Esempio n. 2
0
 //public OrderUser(string UserId, string iStatus)
 //{
 //    status = iStatus;
 ////    RestaurantController.Instance.StartCoroutine(RestController.Instance.GetUser(UserId, setUser, false));
 //}
 public OrderUser(DataContainers.User iUser, string iStatus)
 {
     status = iStatus;
     user   = iUser;
 }