diff --git a/Tests/Runtime/DialogueUITests.cs b/Tests/Runtime/DialogueUITests.cs index e4777a4d..dab48c63 100644 --- a/Tests/Runtime/DialogueUITests.cs +++ b/Tests/Runtime/DialogueUITests.cs @@ -7,6 +7,8 @@ using UnityEngine.UI; using Yarn.Unity; +#pragma warning disable CS0618 // 'member' is obsolete (done to prevent 'DialogueUI is obsolete' messages in Unity - these are valid messages, but it's not useful to warn the Unity developer about code they can't modify) + namespace Yarn.Unity.Tests { public class DialogueUITests : IPrebuildSetup, IPostBuildCleanup diff --git a/Tests/Runtime/VariableStorageTests.cs b/Tests/Runtime/VariableStorageTests.cs index f7686d49..a7bbdc80 100644 --- a/Tests/Runtime/VariableStorageTests.cs +++ b/Tests/Runtime/VariableStorageTests.cs @@ -8,6 +8,8 @@ using UnityEngine.UI; using Yarn.Unity; +#pragma warning disable CS0618 // 'member' is obsolete (done to prevent 'DialogueUI is obsolete' messages in Unity - these are valid messages, but it's not useful to warn the Unity developer about code they can't modify) + namespace Yarn.Unity.Tests { public class VariableStorageTests : IPrebuildSetup, IPostBuildCleanup