void Start() { if (!onlyOnStart) { variable.AddOnChangeCallback(UpdateText); } UpdateText(); }
void Start() { rectTransform = GetComponent <RectTransform>(); progress.AddOnChangeCallback(UpdateSizeParent); }
void Start() { if (!onlyOnStart) { variable.AddOnChangeCallback(UpdateText); } UpdateText(); }
void Start() { rectTransform = GetComponent <RectTransform>(); progress.AddOnChangeCallback(UpdateSizeParent); }