change dbeuglog

This commit is contained in:
Fangh 2024-01-28 16:28:19 +01:00
parent b3843ab76c
commit 56dbbc627f

View File

@ -102,7 +102,7 @@ private void Update()
{ {
if (string.IsNullOrEmpty(p.photoUrl)) if (string.IsNullOrEmpty(p.photoUrl))
{ {
Debug.Log($"player {labelByID.Key} proposition URL : {p.photoUrl}"); //Debug.Log($"player {labelByID.Key} proposition URL : {p.photoUrl}");
playerHasAnswerBoth = false; playerHasAnswerBoth = false;
} }
} }
@ -110,6 +110,7 @@ private void Update()
//if its the case //if its the case
if (playerHasAnswerBoth) if (playerHasAnswerBoth)
{ {
Debug.Log($"player {labelByID.Key} has made 2 propositions", this);
//put player label in green if finished //put player label in green if finished
labelByID.Value.color = Color.green; labelByID.Value.color = Color.green;
} }