From ad24a7f685ddbbc60d27f42a3874ab198c38cf5b Mon Sep 17 00:00:00 2001 From: Brian L Date: Sun, 24 Mar 2019 05:16:18 -0400 Subject: [PATCH] Change UnityEngine namespace requirements --- Svelto.ECS/Common/Components/ECSRect.cs | 1 + Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Svelto.ECS/Common/Components/ECSRect.cs b/Svelto.ECS/Common/Components/ECSRect.cs index 29f2a54..063c3c5 100644 --- a/Svelto.ECS/Common/Components/ECSRect.cs +++ b/Svelto.ECS/Common/Components/ECSRect.cs @@ -1,3 +1,4 @@ +#if UNITY_5 || UNITY_5_3_OR_NEWER using UnityEngine; namespace Svelto.ECS.Components diff --git a/Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs b/Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs index 80312b6..6290e3b 100644 --- a/Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs +++ b/Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs @@ -1,6 +1,6 @@ +#if UNITY_5 || UNITY_5_3_OR_NEWER using UnityEngine; -#if UNITY_5 || UNITY_5_3_OR_NEWER namespace Svelto.ECS.Unity { public class GenericEntityDescriptorHolder: