public void UpdateText(MyfloatData data) { Debug.Log("i in update text with data = " + data.myFloatValue.ToString()); textlable.text = data.myFloatValue.ToString(); }
public void UpdateImage(MyfloatData data) { myImg.fillAmount = data.myFloatValue; }