Skip to content

Commit

Permalink
添加调试信息
Browse files Browse the repository at this point in the history
  • Loading branch information
peng1999 committed May 20, 2019
1 parent ed22785 commit 7cd75cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/MatchScene/Referee/Referee.cs
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
if (goalieBlueId != -1 && JudgeCollision(BlueObject[goalieBlueId], YellowObject[i]))
{
Debug.LogError($"Goalie: {goalieBlueId}, Collision: {i}");
judgeResult = new JudgeResult
{
ResultType = ResultType.GoalKick,
Expand Down Expand Up @@ -658,6 +659,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
if (goalieYellowId != -1 && JudgeCollision(YellowObject[goalieYellowId], BlueObject[i]))
{
Debug.LogError($"Goalie: {goalieYellowId}, Collision: {i}");
judgeResult = new JudgeResult
{
ResultType = ResultType.GoalKick,
Expand Down

0 comments on commit 7cd75cf

Please sign in to comment.