Esempio n. 1
0
 public virtual void SetData(Resource resource)
 {
     icon.sprite = LoadResourceController.GetIconResource(resource.type, resource.id);
     icon.SetNativeSize();
     value.text = resource.number.ToString();
 }