Opposer Vr Script Patched -
public GameObject[] enemyPrefabs; public Transform[] spawnPoints; public float waveInterval = 10f; private int waveNumber = 0;
void OnTriggerEnter(Collider other)
animator.SetTrigger("Attack"); Invoke("EnableHitbox", 0.3f); // Match animation timing Invoke("DisableHitbox", 0.5f); opposer vr script
IEnumerator SpawnWave()
void EnableHitbox() => attackHitbox.SetActive(true); void DisableHitbox() => attackHitbox.SetActive(false); using UnityEngine; public class OpposerParry : MonoBehaviour public GameObject[] enemyPrefabs
void StartParry() => isParrying = true; void EndParry() => isParrying = false; public Transform[] spawnPoints