ing System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class new2 : MonoBehaviour
{
// Start is called before the first frame update
public GameObject bg,jieshao;
public Button btnw,btnl,btnd;
public Image img;
public Text txt;
public Button back;
public Sprite w,l,d;
private void Awake()
{
btnw.onClick.AddListener(()=>
{
bg.SetActive(false);
jieshao.SetActive(true);
img.sprite=w;
txt.text="吴焕先(1907.8-1935.8.21),河南省信阳市新县人。鄂豫陕苏区创建人,中国工农红军杰出指挥员 。民国十四年(1925年)加入中国共产党。";
});
}
void Start()
{
bg.SetActive(true);
}
// Update is called once per frame
void Update()
{
}
}