You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
}
}
}