コード例 #1
0
 private Vector2 GetFixAixsScreenPosition(Vector2 axisScreenPosition)
 {
     axisScreenPosition.x = CUIUtility.ValueInRange(axisScreenPosition.x, this.m_axisOriginalScreenPosition.x + this.m_belongedFormScript.ChangeFormValueToScreen(this.m_axisScreenPositionOffsetMin.x), this.m_axisOriginalScreenPosition.x + this.m_belongedFormScript.ChangeFormValueToScreen(this.m_axisScreenPositionOffsetMax.x));
     axisScreenPosition.y = CUIUtility.ValueInRange(axisScreenPosition.y, this.m_axisOriginalScreenPosition.y + this.m_belongedFormScript.ChangeFormValueToScreen(this.m_axisScreenPositionOffsetMin.y), this.m_axisOriginalScreenPosition.y + this.m_belongedFormScript.ChangeFormValueToScreen(this.m_axisScreenPositionOffsetMax.y));
     return(axisScreenPosition);
 }