We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d189c7 commit ad44e93Copy full SHA for ad44e93
Assets/BossRoom/Scripts/Shared/ProfileManager.cs
@@ -1,11 +1,12 @@
1
-using UnityEngine;
+using System;
2
3
#if UNITY_EDITOR
4
-using System;
5
using System.Security.Cryptography;
6
using System.Text;
7
#endif
8
+using UnityEngine;
9
+
10
namespace Unity.Multiplayer.Samples.BossRoom.Shared
11
{
12
public static class ProfileManager
@@ -38,10 +39,9 @@ static string GetProfile()
38
39
.ComputeHash(Encoding.UTF8.GetBytes(Application.dataPath));
40
Array.Resize(ref hashedBytes, 16);
41
return new Guid(hashedBytes).ToString("N");
-
42
-#endif
43
+#else
44
return "";
+#endif
45
}
46
47
0 commit comments