Пример #1
0
 public void SetAxisControl(IAxisControl axisControl)
 {
     m_axisControl    = axisControl;
     m_AxisName.color = m_axisControl.AxisColor;
     m_AxisName.text  = m_axisControl.AxisName;
     m_AxisValue.textComponent.color = m_axisControl.AxisColor;
     m_axisControl.replaceTextComponentWithTMPro(m_AxisName);
     m_axisControl.replaceInputFieldWithTMPro(m_AxisValue, InputFieldEndEdit);
     updateAxisValue();
     m_axisControl.registerUpdateAction(updateAxisValue);
 }