【m】插件上传
This commit is contained in:
21
Packages/com.unity.renderstreaming@3.1.0-exp.9/Tests/Runtime/ConditionalIgnore.cs
vendored
Normal file
21
Packages/com.unity.renderstreaming@3.1.0-exp.9/Tests/Runtime/ConditionalIgnore.cs
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.TestTools;
|
||||
|
||||
namespace Unity.RenderStreaming.RuntimeTest
|
||||
{
|
||||
internal class ConditionalIgnore
|
||||
{
|
||||
public const string IL2CPP = "IgnoreIL2CPP";
|
||||
|
||||
[RuntimeInitializeOnLoadMethod]
|
||||
static void OnLoad()
|
||||
{
|
||||
#if ENABLE_IL2CPP
|
||||
ConditionalIgnoreAttribute.AddConditionalIgnoreMapping(IL2CPP, true);
|
||||
#else
|
||||
ConditionalIgnoreAttribute.AddConditionalIgnoreMapping(IL2CPP, false);
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user