public void SetOneSideRelation(TextAnchor _positionAnchor, AnchorBounds _anchorBounds, Vector2 _relativePosition, ScreenAxis _axis, float _relativeSize, Vector2 _customRatio) { useRelativeData = true; relativeTo = SizeRelation.OneSideOfScreen; positionAnchor = _positionAnchor; anchorBounds = _anchorBounds; relativePosition = _relativePosition; selectedAxis = _axis; relativeSingleSize = _relativeSize; customRatio = _customRatio; SetRelativeData(); }
public void SetOneSideRelation(TextAnchor _positionAnchor, AnchorBounds _anchorBounds, Vector2 _relativePosition, ScreenAxis _axis, float _relativeSize, Vector2 _customRatio) { useRelativeData = true; relativeTo = SizeRelation.OneSideOfScreen; positionAnchor = _positionAnchor; anchorBounds = _anchorBounds; relativePosition = _relativePosition; selectedAxis = _axis; relativeSingleSize = _relativeSize; customRatio = _customRatio; SetRelativeData(); }