Skip to content
Snippets Groups Projects
Commit bd4e10bc authored by Alifia Rahmah's avatar Alifia Rahmah
Browse files

feat(cheat): focus on input when open cheat window

parent ac82a414
Branches
Tags
No related merge requests found
......@@ -67,6 +67,9 @@ public class CheatMenu : MonoBehaviour
cheatMenu.SetActive(true);
Time.timeScale = 0f;
isCheatOpened = true;
// Focus on input field
inputText.ActivateInputField();
}
public void ResumeGame() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment