Opposer Vr Script Instant

void EnableHitbox() => attackHitbox.SetActive(true); void DisableHitbox() => attackHitbox.SetActive(false); using UnityEngine; public class OpposerParry : MonoBehaviour

void Update()

animator.SetTrigger("Attack"); Invoke("EnableHitbox", 0.3f); // Match animation timing Invoke("DisableHitbox", 0.5f); opposer vr script