Exemplo n.º 1
0
 public void SetupIndicator(bool isLinear)
 {
     m_LinearIndicator.gameObject.SetActive(isLinear);
     m_CircularIndicator.gameObject.SetActive(!isLinear);
     m_ProgressIndicator = isLinear ? m_LinearIndicator : m_CircularIndicator;
     m_ProgressIndicator.transform.parent.GetComponent<VerticalLayoutGroup>().childForceExpandWidth = isLinear;
 }