コード例 #1
0
 public void SetControl(IAxisControl control)
 {
     m_Control        = control;
     m_AxisName.color = m_Control.AxisColor;
     m_AxisName.text  = m_Control.AxisName;
     m_AxisValue.textComponent.color = m_Control.AxisColor;
     m_Control.ReplaceTextComponentWithTMPro(m_AxisName);
     m_Control.ReplaceInputFieldWithTMPro(m_AxisValue, InputFieldEndEdit);
     UpdateGUI();
     m_Control.RegisterUpdateAction(UpdateGUI);
 }