SCKeyboard3D.cs 847 B

12345678910111213141516171819202122232425262728293031323334
  1. using UnityEngine;
  2. namespace SC.XR.Unity.Module_Keyboard
  3. {
  4. public class SCKeyboard3D : SCKeyboard
  5. {
  6. public SCKeyboard3D(Vector3 position, Quaternion rotation, Vector3 localScale, SCKeyboardEnum scKeyboardEnum, SCKeyboardType scKeyboardType)
  7. : base(position, rotation, localScale, scKeyboardEnum, scKeyboardType) { }
  8. protected override SCKeyboardEnum keyboardEnum { get { return SCKeyboardEnum.SCKeyboard3D; } }
  9. protected override string PrefabResourceName
  10. {
  11. get
  12. {
  13. return "Prefabs/Keyboard/3DKeyboard";
  14. }
  15. }
  16. public override string text
  17. {
  18. get
  19. {
  20. return _text;
  21. }
  22. set
  23. {
  24. _text = value;
  25. }
  26. }
  27. }
  28. }