public void UpdateValue(Float01 newValue) { if (m_FillImage != null) { m_FillImage.fillAmount = newValue.GetValue(); } }
public override void UpdateValue(Float01 value) { var newValue = value.GetValue(); if (newValue < .5f) { m_IsActive = false; UpdateFireSystemScale(false); } else { m_IsActive = true; UpdateFireSystemScale(true); } }
public override void UpdateValue([NotNull] Float01 newValue) { m_DesiredValue = newValue.GetValue(); }