Skip to content

Commit

Permalink
Don't warn about DialogueUI being obsolete in Yarn Spinner test code
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Mar 27, 2021
1 parent 036253f commit 771679e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Runtime/DialogueUITests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Tests/Runtime/VariableStorageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 771679e

Please sign in to comment.