赞
踩
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;//引用UI库
-
- public class ClickOnTheChange : MonoBehaviour
- {
-
- public Text texshow;
-
- int a = 1;
-
-
- void Update()
- {
- texshow.text = ("分数:" + a);
- }
-
- public void grade()
- {
- a++;
- }
- }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。