Browse Source

Merge pull request #43 from Blucky87/master

Change UnityEngine namespace requirements
tags/2.8
Sebastiano Mandalà GitHub 5 years ago
parent
commit
518a50df15
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      Svelto.ECS/Common/Components/ECSRect.cs
  2. +1
    -1
      Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs

+ 3
- 1
Svelto.ECS/Common/Components/ECSRect.cs View File

@@ -1,3 +1,4 @@
#if UNITY_5 || UNITY_5_3_OR_NEWER
using UnityEngine;

namespace Svelto.ECS.Components
@@ -14,4 +15,5 @@ namespace Svelto.ECS.Components
height = imageUvRect.height;
}
}
}
}
#endif

+ 1
- 1
Svelto.ECS/Extensions/Unity/GenericEntityDescriptorHolder.cs View File

@@ -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<T>:


Loading…
Cancel
Save