Files
Cielonos/Packages/dev.yarnspinner.unity/Runtime/Views/ReplacementMarkupHandler.cs
SoulliesOfficial 8186f54e90 新场景,剧情
2026-06-02 12:55:39 -04:00

24 lines
784 B
C#

/*
Yarn Spinner is licensed to you under the terms found in the file LICENSE.md.
*/
using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using Yarn.Markup;
namespace Yarn.Unity
{
/// <summary>
/// An attribute marker processor receives a marker found in a Yarn line,
/// and optionally rewrites the marker and its children into a new form.
/// </summary>
/// <seealso cref="LineProviderBehaviour"/>
public abstract class ReplacementMarkupHandler : MonoBehaviour, IAttributeMarkerProcessor
{
/// <inheritdoc/>
public abstract ReplacementMarkerResult ProcessReplacementMarker(MarkupAttribute marker, StringBuilder childBuilder, List<MarkupAttribute> childAttributes, string localeCode);
}
}