SCKeyboard2D.cs 945 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace SC.XR.Unity
  5. {
  6. public class SCKeyboard2D : SCKeyboardBase
  7. {
  8. public SCKeyboard2D(Transform parent, Vector3 position, Quaternion rotation, Vector3 scale)
  9. : base(parent, position, rotation, scale) { }
  10. public override string PrefabResourceName
  11. {
  12. get
  13. {
  14. return "Keyboard/2DKeyboard";
  15. }
  16. }
  17. public override void Init()
  18. {
  19. throw new System.NotImplementedException();
  20. }
  21. public override string text
  22. {
  23. get
  24. {
  25. return m_Text;
  26. }
  27. set
  28. {
  29. m_Text = value;
  30. }
  31. }
  32. public override void SetTextOnOpen(string openText)
  33. {
  34. throw new System.NotImplementedException();
  35. }
  36. }
  37. }