MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnCharInput

Method OnCharInput

Source/Engine/UI/GUI/Common/TextBoxBase.cs:1389–1397  ·  view source on GitHub ↗

(char c)

Source from the content-addressed store, hash-verified

1387
1388 /// <inheritdoc />
1389 public override bool OnCharInput(char c)
1390 {
1391 if (base.OnCharInput(c))
1392 return true;
1393 if (IsReadOnly)
1394 return false;
1395 Insert(c);
1396 return true;
1397 }
1398
1399 /// <inheritdoc />
1400 public override void OnKeyUp(KeyboardKeys key)

Callers

nothing calls this directly

Calls 1

InsertFunction · 0.85

Tested by

no test coverage detected