mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-01 03:12:40 +08:00
C# Console: Fix autocomplete caret deselection
This commit is contained in:
@ -390,16 +390,11 @@ namespace UnityExplorer.CSConsole
|
||||
color.a = 0f;
|
||||
Input.Component.selectionColor = color;
|
||||
|
||||
EventSystemHelper.SetSelectedGameObject(null);
|
||||
|
||||
yield return null; // ~~~~~~~ YIELD FRAME ~~~~~~~~~
|
||||
|
||||
EventSystemHelper.SetSelectedGameObject(null);
|
||||
|
||||
yield return null; // ~~~~~~~ YIELD FRAME ~~~~~~~~~
|
||||
|
||||
EventSystemHelper.SetSelectionGuard(false);
|
||||
Input.Component.Select();
|
||||
|
||||
yield return null; // ~~~~~~~ YIELD FRAME ~~~~~~~~~
|
||||
|
||||
Input.Component.caretPosition = caretPosition;
|
||||
Input.Component.selectionFocusPosition = caretPosition;
|
||||
LastCaretPosition = Input.Component.caretPosition;
|
||||
|
Reference in New Issue
Block a user