CrowdControl/Assets/AlmostEngine/Shared/Scripts/UnityVersion.cs

20 lines
292 B
C#

using UnityEngine;
using System.Collections;
namespace AlmostEngine
{
public class UnityVersion
{
public static bool HasPro ()
{
#if (UNITY_5 || UNITY_5_6_OR_NEWER)
return true;
#else
return Application.HasProLicense ();
#endif
}
}
}