final feedbacks fixed
This commit is contained in:
@@ -9,6 +9,9 @@ public class Goal : NetworkBehaviour
|
||||
if(!isServer){return;}
|
||||
|
||||
if(collision.gameObject.CompareTag("Player")){
|
||||
if(GameManager.instance == null || !GameManager.instance.CanProcessGoal){
|
||||
return;
|
||||
}
|
||||
Debug.Log($"GOAL! {team}", gameObject);
|
||||
Ball ball = collision.gameObject.GetComponent<Ball>();
|
||||
Debug.Log(ball.name);
|
||||
|
||||
Reference in New Issue
Block a user