SendSN.cs 380 B

12345678910111213141516171819
  1. using UnityEngine;
  2. public static class SendSN
  3. {
  4. private static string sn;
  5. public static string GetSN()
  6. {
  7. #if UNITY_EDITOR
  8. sn = "YARMA11B0V21D22106170295";
  9. sn = "ABD1234561";
  10. sn = "b27500d903b4800006f32559816360f3";
  11. #elif UNITY_ANDROID
  12. sn = SystemInfo.deviceUniqueIdentifier;
  13. #else
  14. sn = "";
  15. #endif
  16. return sn;
  17. }
  18. }