28 lines
653 B
C#
28 lines
653 B
C#
using AibisDream.Framework;
|
|
using UnityEngine;
|
|
|
|
public enum ClueType
|
|
{
|
|
PunchTape,
|
|
ImageClue,
|
|
// 添加其他类型
|
|
}
|
|
public abstract class Clue
|
|
{
|
|
public string Category { get; set; }
|
|
public string ClueName { get; set; }
|
|
public string YarnNodeName => LocalizationKit.GetL10NParamKey(ClueName);
|
|
public string LocaleClueName => LocalizationKit.LocalizeParam(ClueName);
|
|
public ClueType ClueType { get; protected set; }
|
|
public Clue(string category, string name)
|
|
{
|
|
Category = category;
|
|
ClueName = name;
|
|
//PuzzleIndex=puzzleIndex;
|
|
}
|
|
|
|
public abstract void Display(ClueItem clueitem);
|
|
}
|
|
|
|
|