From a7f6aecb5a5ef977ebc5ad4d59a1396573743346 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens <pascal@passervr.com> Date: Wed, 19 Feb 2025 12:27:38 +0100 Subject: [PATCH] Fix Unity errors --- LinearAlgebra/Vector3.cs | 1 - SiteServer.cs | 1 - Thing.cs | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/LinearAlgebra/Vector3.cs b/LinearAlgebra/Vector3.cs index 9349b99..0cc4d7b 100644 --- a/LinearAlgebra/Vector3.cs +++ b/LinearAlgebra/Vector3.cs @@ -1,7 +1,6 @@ #if !UNITY_5_3_OR_NEWER using System; -#if !UNITY_5_3_OR_NEWER namespace Passer.LinearAlgebra { public class Vector3Of<T> { public T x; diff --git a/SiteServer.cs b/SiteServer.cs index 3282444..d54f3af 100644 --- a/SiteServer.cs +++ b/SiteServer.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using System.Net; diff --git a/Thing.cs b/Thing.cs index fcf85e6..34f6a65 100644 --- a/Thing.cs +++ b/Thing.cs @@ -1,4 +1,3 @@ -#nullable enable using System; using System.Collections.Generic; using Passer.LinearAlgebra; @@ -129,7 +128,7 @@ namespace Passer.Control.Core { #if UNITY_5_3_OR_NEWER [NonSerialized] - public Unity.Thing? component = null; + public Unity.Thing component = null; #endif #endregion Properties