提交修改
This commit is contained in:
16
Assets/Scripts/ThirdParty/Fantasy.Unity/Editor/Runtime/CheckUnityVersion.cs
vendored
Normal file
16
Assets/Scripts/ThirdParty/Fantasy.Unity/Editor/Runtime/CheckUnityVersion.cs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
|
||||
namespace Fantasy
|
||||
{
|
||||
internal static class CheckUnityVersion
|
||||
{
|
||||
[InitializeOnLoadMethod]
|
||||
private static void OnInitializeOnLoad()
|
||||
{
|
||||
#if !UNITY_2022_3_OR_NEWER
|
||||
Debug.LogError("Fantasy支持的最低版本为Unity2022.3.622f2");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user