Skip to content

Commit 13de230

Browse files
author
Baptiste SUZON
committed
fix: Use LogWarning instead of Log
1 parent f813fb7 commit 13de230

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Runtime/UtilitySystem.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void SetStat(string key, float value)
5151
}
5252
else
5353
{
54-
Debug.Log("Couldn't find input " + key + " in given inputs");
54+
Debug.LogWarning("Couldn't find input " + key + " in given inputs");
5555
}
5656
}
5757

@@ -86,7 +86,7 @@ public Utility GetUtility(string key)
8686
return _outputs[key];
8787
else
8888
{
89-
Debug.Log($"UtilitySystem does not contain the utility {key}");
89+
Debug.LogWarning($"UtilitySystem does not contain the utility {key}");
9090
return null;
9191
}
9292
}
@@ -125,7 +125,7 @@ public Stat GetStat(string key)
125125
return _inputs[key];
126126
else
127127
{
128-
Debug.Log($"UtilitySystem does not contain the stat {key}");
128+
Debug.LogWarning($"UtilitySystem does not contain the stat {key}");
129129
return null;
130130
}
131131
}

0 commit comments

Comments
 (0)