Updated visuals and polish
This commit is contained in:
@@ -7,6 +7,7 @@ public class Goal : MonoBehaviour
|
||||
public GameManager gm;
|
||||
public int playerNumber = 0;
|
||||
|
||||
public GoalLight goalLight;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@@ -32,6 +33,8 @@ public class Goal : MonoBehaviour
|
||||
this.gm.scorePlayer1 += 1;
|
||||
}
|
||||
|
||||
this.goalLight.LightUp();
|
||||
|
||||
this.gm.ResetPositions();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user