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

InputField.GetCharacterIndexFromPosition

protected int GetCharacterIndexFromPosition(Vector2 pos);

Parameters

posMouse position.

Returns

int Character index with in value.

Description

The character that is under the mouse.

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