Skip to content

Commit

Permalink
Add missing usings
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Feb 4, 2025
1 parent 9ba8604 commit b4d5546
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Runtime/Async/AsyncLineView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using UnityEngine;
using UnityEngine.UI;
using Yarn.Markup;
using Yarn.Unity.Attributes;

#nullable enable

Expand Down Expand Up @@ -299,7 +300,7 @@ public override async YarnTask RunLineAsync(LocalizedLine line, LineCancellation
characterNameText.text = line.CharacterName;
}
text = line.TextWithoutCharacterName;

if (line.Text.TryGetAttributeWithName("character", out var characterAttribute))
{
text.Attributes.Add(characterAttribute);
Expand Down
1 change: 1 addition & 0 deletions Runtime/Async/AsyncOptionsView.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using UnityEngine;
using Yarn.Unity.Attributes;

#if USE_TMP
using TMPro;
Expand Down
1 change: 1 addition & 0 deletions Runtime/Async/LineAdvancer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Threading.Tasks;
using UnityEngine;
using Yarn.Unity;
using Yarn.Unity.Attributes;

#nullable enable

Expand Down
3 changes: 2 additions & 1 deletion Runtime/Views/MarkupPalette.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Yarn.Unity.Attributes;

namespace Yarn.Unity
{
Expand Down Expand Up @@ -32,7 +33,7 @@ public struct FormatMarker
/// Indicates whethere or not the text associated with this marker should have a custom colour.
/// </summary>
public bool CustomColor;

/// <summary>
/// The color to use for text associated with this marker.
/// </summary>
Expand Down

0 comments on commit b4d5546

Please sign in to comment.