Skip to content

Commit 881ddd4

Browse files
committed
hidden unsed variables in the config
1 parent f84508f commit 881ddd4

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Assets/LootLocker/Common/LootLockerGenericConfig.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66
[CreateAssetMenu(fileName = "Config", menuName = "ScriptableObjects/Config", order = 1)]
77
public class LootLockerGenericConfig : ScriptableObject
88
{
9+
[HideInInspector]
910
public string gameName;
1011
public string apiKey;
12+
[HideInInspector]
1113
public string token;
14+
[HideInInspector]
1215
public int gameID;
1316
public string game_version = "1.0";
17+
[HideInInspector]
1418
public string deviceID;
1519
[HideInInspector]
1620
public string email, password;

Assets/LootLocker/Common/LootlockerCommon.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ public class AssetRequest : LootLockerResponse
3333
{
3434
public int count;
3535
public static int lastId;
36+
public static void ResetAssetCalls()
37+
{
38+
lastId = 0;
39+
}
3640
}
3741

3842
public class AssetResponse : LootLockerResponse

Assets/LootLocker/Game/Samples/Scripts/AssetTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public void GetNextAssetList()
149149
[ContextMenu("ResetAssetCalls")]
150150
public void ResetAssetCalls()
151151
{
152-
AssetRequest.lastId = 0;
152+
AssetRequest.ResetAssetCalls();
153153
}
154154

155155
[ContextMenu("GetAssetInformation")]

0 commit comments

Comments
 (0)