Exemplo n.º 1
0
 public void SetIcon(IDisplayableIcon iconObject)
 {
     gameObject.SetActive(true);
     active         = true;
     associatedIcon = iconObject;
     image.sprite   = associatedIcon.GetImage();
     image.material = null;
 }