PlatformAccountMgr.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace SC.XR.Unity.Module_PlatformAccount
  5. {
  6. public abstract class PlatformAccountMgr
  7. {
  8. private static PlatformAccountMgr instance;
  9. public static PlatformAccountMgr Instance
  10. {
  11. get
  12. {
  13. if (instance != null)
  14. {
  15. return instance;
  16. }
  17. else
  18. {
  19. instance = new PlatformAccountManager();
  20. }
  21. return instance;
  22. }
  23. }
  24. public abstract PlatformAccountConfig PlatformAccountConfig { get; set; }
  25. // ReLogin
  26. public LoginType loginType;
  27. public bool rememberPwd;
  28. public string phone;
  29. public string diallingCode;
  30. public string smsCode;
  31. public string account;
  32. public string password;
  33. public string captcha;
  34. // ResetPassword
  35. public ResetType resetType;
  36. public GameObject defaultMenu;
  37. public GameObject codeMenu;
  38. // CodeError
  39. public BaseUIForms lastUIForms;
  40. }
  41. }