using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using UnityEngine.UI;
namespace DisComputer
{
///
/// 指令控制
///
public class IIICmdControll : MonoBehaviour
{
//开始按钮
public Button start_btn;
//运算选项
public OptionsView optionsView;
//硬盘
public Transform yingPanTran;
//命令标题文本
public Text cmd_txt;
// Start is called before the first frame update
void Start()
{
start_btn.onClick.AddListener(OnClickStart);
}
///
/// 点击开始
///
void OnClickStart()
{
IIINonNeumannControll.Instance.ShowVonSetView();
start_btn.gameObject.SetActive(false);
}
///
/// 设置指令信息
///
public void SetCmdInfo()
{
cmd_txt.text = VonNeumann.data.command.ToString();
}
}
}