From 250098780667ad5e5a8de9a60cbbf5fb23d8a908 Mon Sep 17 00:00:00 2001 From: Dario Date: Fri, 24 May 2024 13:56:09 +0200 Subject: [PATCH] separate attributes into their own namespace (fixes #279) --- Editor/Editors/DialogueRunnerEditor.cs | 1 + Runtime/Attributes/Attributes.cs | 2 +- Runtime/DialogueRunner.cs | 1 + Runtime/Views/VoiceOverView.cs | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Editor/Editors/DialogueRunnerEditor.cs b/Editor/Editors/DialogueRunnerEditor.cs index b6819264..e9c9e76c 100644 --- a/Editor/Editors/DialogueRunnerEditor.cs +++ b/Editor/Editors/DialogueRunnerEditor.cs @@ -14,6 +14,7 @@ Yarn Spinner is licensed to you under the terms found in the file LICENSE.md. using System; using System.Reflection; using Yarn.Unity.UnityLocalization; +using Yarn.Unity.Attributes; namespace Yarn.Unity.Editor { diff --git a/Runtime/Attributes/Attributes.cs b/Runtime/Attributes/Attributes.cs index 9c62fcdc..d70bdee4 100644 --- a/Runtime/Attributes/Attributes.cs +++ b/Runtime/Attributes/Attributes.cs @@ -1,6 +1,6 @@ using System; -namespace Yarn.Unity +namespace Yarn.Unity.Attributes { #nullable enable diff --git a/Runtime/DialogueRunner.cs b/Runtime/DialogueRunner.cs index 78872a8a..8d04ccc9 100644 --- a/Runtime/DialogueRunner.cs +++ b/Runtime/DialogueRunner.cs @@ -11,6 +11,7 @@ Yarn Spinner is licensed to you under the terms found in the file LICENSE.md. using UnityEngine.Events; using System; using UnityEngine.UIElements; +using Yarn.Unity.Attributes; #nullable enable diff --git a/Runtime/Views/VoiceOverView.cs b/Runtime/Views/VoiceOverView.cs index 9806af40..8ecbe0ca 100644 --- a/Runtime/Views/VoiceOverView.cs +++ b/Runtime/Views/VoiceOverView.cs @@ -5,6 +5,7 @@ Yarn Spinner is licensed to you under the terms found in the file LICENSE.md. using System; using System.Collections; using UnityEngine; +using Yarn.Unity.Attributes; namespace Yarn.Unity {