Beispiel #1
0
 private void OnStateChange(object sender, Game.ChangeStateEventArgs e)
 {
     TextInputEXT.TextInput -= OnTextInput;
     TextInputEXT.StopTextInput();
     ((Game)sender).OnStateChange -= OnStateChange;
 }
Beispiel #2
0
 private void RemoveSearchInput(object sender, Game.ChangeStateEventArgs e)
 {
     TextInputEXT.TextInput -= OnSearchInput;
     TextInputEXT.StopTextInput();
     Game.OnStateChange -= RemoveSearchInput;
 }