示例#1
0
 public void SetContext(object context)
 {
     if (context != null)
     {
         if (context is ProductDataData)
         {
             this.context = (ProductDataData)context;
             RefreshUI();
         }
     }
 }
示例#2
0
 public void Init(object context)
 {
     if (context != null)
     {
         if (context is ProductDataData)
         {
             this.context = (ProductDataData)context;
             this.gameObject.SetActive(true);
             RefreshUI();
         }
     }
 }