First project upload

This commit is contained in:
Rohan
2026-06-26 22:41:39 +05:30
parent 7f6e734b16
commit 604c0c786a
4637 changed files with 4299718 additions and 489307 deletions

View File

@@ -0,0 +1,16 @@
using UnityEngine;
public class Hurtbox : MonoBehaviour
{
public string bodyPart; // "Head", "Body", "Legs"
private void Start()
{
TeamMember parentTeamMember = GetComponentInParent<TeamMember>();
if (parentTeamMember != null)
{
gameObject.tag = parentTeamMember.gameObject.tag;
}
}
}