private static void SyncFromStateInterVarAbstractComponent(AbstractStateInterVar component, ICharacterState state) { state.UpdateAxis(component.HorizontalValue, component.VerticalValue, component.UpDownValue); }
private static void SyncToStateInterVarAbstractComponent(AbstractStateInterVar component, ICharacterState state) { component.VerticalValue = state.VerticalValue; component.HorizontalValue = state.HorizontalValue; component.UpDownValue = state.UpDownValue; }