Skip to content

Commit 541004d

Browse files
authored
Update GlobalVariables.cs
Fixed GlobalVariables.cs Set method 2nd parameter type https://gist.github.com/hasanbayatme/f3ddf56cf261a6b40efc14ecb9881a98
1 parent 2f8b6ab commit 541004d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Utilities/GlobalVariables.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static T Get<T>(string key)
5050
/// <remarks>It uses a lock under the hood to ensure consistensy between threads</remarks>
5151
/// <param name="key">The variable name/key</param>
5252
/// <param name="value">The variable value</param>
53-
public static void Set(string key, string value)
53+
public static void Set(string key, object value)
5454
{
5555
lock (lockObject)
5656
{

0 commit comments

Comments
 (0)