コード例 #1
0
 public void Copy(InputBinding source)
 {
     m_positive      = source.m_positive;
     m_negative      = source.m_negative;
     m_deadZoneType  = source.m_deadZoneType;
     m_deadZone      = source.m_deadZone;
     m_gravity       = source.m_gravity;
     m_sensitivity   = source.m_sensitivity;
     m_scale         = source.m_scale;
     m_snap          = source.m_snap;
     m_invert        = source.m_invert;
     m_type          = source.m_type;
     m_axis          = source.m_axis;
     m_joystick      = source.m_joystick;
     m_gamepadAxis   = source.m_gamepadAxis;
     m_gamepadButton = source.m_gamepadButton;
     m_gamepadIndex  = source.m_gamepadIndex;
 }