Deaktivated Multiplayer but did not remove it
This commit is contained in:
@@ -18,8 +18,7 @@ public class OVRStickAndRoomscaleMovement : NetworkBehaviour
|
||||
|
||||
void Start()
|
||||
{
|
||||
if (!IsOwner)
|
||||
return;
|
||||
//if (!IsOwner) return;
|
||||
|
||||
characterController = GetComponent<CharacterController>();
|
||||
|
||||
@@ -29,7 +28,7 @@ public class OVRStickAndRoomscaleMovement : NetworkBehaviour
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (!IsOwner) return;
|
||||
//if (!IsOwner) return;
|
||||
|
||||
// 1. Real-World Position des Headsets bestimmen
|
||||
Vector3 headLocalPos = rigRoot.InverseTransformPoint(cameraTransform.position);
|
||||
|
||||
@@ -23,6 +23,10 @@ public class VRDebugger : MonoBehaviour
|
||||
GhostRecorderBatch.OnRecord -= RecordingStart;
|
||||
GhostRecorderBatch.OnStopRecord -= RecordingStop;
|
||||
}
|
||||
private void Start() // Nur für Offline Mode
|
||||
{
|
||||
GetTrackedObjects();
|
||||
}
|
||||
|
||||
private void GetTrackedObjects()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user