Roman e6f51b11d9 1.更改和完善了打电码系统,目前是5码一数字,。-。-。代表全部清除。
2.完成了电码的句子系统和输入完成检测系统。
3.初步攥写了事件系统,目前可以自定义事件。目前已经开始写的事件是打完父亲的电码的事件。
2021-07-18 23:58:09 +08:00

27 lines
653 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Sentence : MonoBehaviour
{
// Start is called before the first frame update
[Tooltip("这个句子的内容是什么?")]
public string content;
[Tooltip("这个句子对应的数字序列是?")]
public string num;
private bool hasCompleted;//这个句子目前是否被完成
void Start()
{
hasCompleted = false;
}
// Update is called once per frame
void Update()
{
}
public bool IsThisFinished(){return hasCompleted;}
public void CompleteTheSentence(){hasCompleted = true;}
}