Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

InputField.ClampPos

protected void ClampPos(ref int pos);

Parameters

posThe value to be clamped.

Description

Clamp a value (by reference) between 0 and the current text length.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答