practice mode

This commit is contained in:
2026-07-02 11:41:57 +05:30
parent 2651068b50
commit 2de5a166f6
14 changed files with 3009 additions and 890 deletions
+13
View File
@@ -4,6 +4,19 @@ using UnityEngine;
public class Goal : NetworkBehaviour
{
public Team team;
public static Goal RedGoal,BlueGoal;
void Awake()
{
if(team == Team.Red){
RedGoal = this;
}else{
BlueGoal = this;
}
}
void OnTriggerEnter2D(Collider2D collision)
{
if(!isServer){return;}