File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Assets/BossRoom/Scripts/Shared Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -32,23 +32,5 @@ public static void SetMusicVolume(float volume)
32
32
PlayerPrefs . SetFloat ( "MusicVolume" , volume ) ;
33
33
}
34
34
35
- /// <summary>
36
- /// Either loads a Guid string from Unity preferences, or creates one and checkpoints it, then returns it.
37
- /// </summary>
38
- /// <returns>The Guid that uniquely identifies this client install, in string form. </returns>
39
- public static string GetGuid ( )
40
- {
41
- if ( PlayerPrefs . HasKey ( "client_guid" ) )
42
- {
43
- return PlayerPrefs . GetString ( "client_guid" ) ;
44
- }
45
-
46
- var guid = System . Guid . NewGuid ( ) ;
47
- var guidString = guid . ToString ( ) ;
48
-
49
- PlayerPrefs . SetString ( "client_guid" , guidString ) ;
50
- return guidString ;
51
- }
52
-
53
35
}
54
36
}
You can’t perform that action at this time.
0 commit comments