Files
Cielonos/Assets/Scripts/MainGame/Interactions/NPCs/GuideNpc.cs
SoulliesOfficial 8186f54e90 新场景,剧情
2026-06-02 12:55:39 -04:00

28 lines
804 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Cielonos.Core.Interaction;
using UnityEngine;
namespace Cielonos.MainGame.Interactions
{
/// <summary>
/// 引导者 NPC。
/// 继承自 NpcBase专门用于向玩家播放引导/教学文本。
/// 可以在 UI 上定制特定的交互标签文字。
/// </summary>
public class GuideNpc : NpcBase
{
protected override void InitializeChoices()
{
// 定制交互选项显示为 "Guide" (引导),为教学 NPC 提供更契合的界面提示
choices.Add(new InteractionChoice("Guide", Talk));
}
#if UNITY_EDITOR
private void Reset()
{
// 在编辑器中挂载组件时,自动填充默认故事 ID 缩短关卡配置时间
storyId = "Guide_Tutorial";
}
#endif
}
}