Converted everything to Meta XR All in One to make Eye-Tracking work again

This commit is contained in:
Thorbjoern
2025-06-01 04:30:55 +02:00
parent dd98bacb75
commit a5f152a23f
68 changed files with 71137 additions and 764 deletions
@@ -0,0 +1,16 @@
using System.Globalization;
using Unity.Netcode;
using UnityEngine;
public class InvisibleForLocalPlayer : NetworkBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
foreach (var r in GetComponentsInChildren<Renderer>())
{
r.enabled = !IsOwner;
}
}
}