SCPinyinKeyboardKey.cs 460 B

1234567891011121314
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.EventSystems;
  5. public class SCPinyinKeyboardKey : SCKeyboardKey
  6. {
  7. protected override void OnNormalKeyClick(BaseEventData eventData)
  8. {
  9. TextMesh textMesh = this.GetComponentInChildren<TextMesh>();
  10. GameKey3Dboard gameKey3Dboard = this.GetComponentInParent<GameKey3Dboard>();
  11. gameKey3Dboard.OnPinyinKeyClick(textMesh.text);
  12. }
  13. }