Replace UltimateXR with HurricaneVR

This commit is contained in:
2024-08-08 17:01:07 +02:00
parent e8658374d6
commit fb21dbbb73
5932 changed files with 358362 additions and 2174150 deletions

View File

@@ -0,0 +1,34 @@
using HurricaneVR.Framework.Components;
using UnityEngine;
using UnityEngine.Events;
namespace HurricaneVR.Framework.Weapons.Guns
{
public class HVRBullet : MonoBehaviour
{
public float Speed;
public float Gravity;
public float TimeToLive;
public float Elapsed;
public LayerMask LayerMask;
public bool Hit;
public HVRGunBase Gun { get; set; }
//public UnityEvent
public void Reset()
{
Elapsed = 0f;
Hit = false;
}
public void Update()
{
//d = vt;
Elapsed += Time.deltaTime;
}
}
}