25 lines
471 B
C#
25 lines
471 B
C#
using UnityEngine;
|
|
|
|
public enum ClueType
|
|
{
|
|
PunchTape,
|
|
ImageClue,
|
|
// 添加其他类型
|
|
}
|
|
public abstract class Clue
|
|
{
|
|
public string Category { get; set; }
|
|
public string ClueName { get; set; }
|
|
public ClueType ClueType { get; protected set; }
|
|
public Clue(string category, string name)
|
|
{
|
|
Category = category;
|
|
ClueName = name;
|
|
//PuzzleIndex=puzzleIndex;
|
|
}
|
|
|
|
public abstract void Display(ClueItem clueitem);
|
|
}
|
|
|
|
|