当前位置:网站首页>Ngui, floating blood
Ngui, floating blood
2022-06-11 10:27:00 【ying1228475251】
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* File description :
* founder :
* Creation time :
* Modification time :
* edition :1.0
*/
public class Test5 : MonoBehaviour {
GameObject go;
HUDText ht;
void Start () {
go = GameObject.Find("GameObject");
ht = go.transform.GetComponent<HUDText>();
}
void Update () {
if (Input.GetMouseButtonDown(0))
{
ht.Add(-10, Color.red, 1f);
}
if (Input.GetMouseButtonDown(1))
{
ht.Add(+10, Color.green, 10f);
}
}
}
边栏推荐
- Dotween usage
- 解读USB3.0测试项目
- [high concurrency] the interviewer of ant financial asked me about thread pool!!
- puppeteer入门之 BrowserFetcher 类
- NGUI,冷却效果
- EMC rectification cases of electronic equipment radiation
- 用真金做的电路板——金手指
- RSA signature issues
- puppeteer入门之 Browser 类
- Detail measurement of DC-DC and PDN with network analyzer
猜你喜欢

rpc的正确打开方式|读懂Go原生net/rpc包

Arbitrum infrastructure: a quick start

Ugui picture wall

MySQL基础篇常用约束总结上篇

Jedislock redis distributed lock implementation

Explain the physical layer consistency test of 2.5g/5g/10g Base-T Ethernet interface in detail!

DataGrip 2022,DataGrip 功能

Reprint: linearlayout+fragment to achieve the lower navigation bar effect

ZigBee模块无线传输星形拓扑组网结构简介

Mysql--索引
随机推荐
修复UICollectionView 没有到达底部安全区的问题
Pyspark case series 4-dataframe output to a single folder solution
【K-Means】K-Means学习实例
RSA signature issues
Handwritten code call, apply, bind
金仓数据库KingbaseES中的sys_checksums坏块检测功能
Datagrip 2022, datagrip function
VMware install win7 virtual machine
NGUI,飘血
详解2.5G/5G/10G Base-T以太网接口物理层一致性测试!
Picture rule page turning
MySQL comparison
Bcgcontrolbar Library Professional Edition, fully documented MFC extension class
WordPress website backup
MySQL基础篇常用约束总结上篇
知识点滴 - 性格分析-四类法
MySQL基础篇常用约束总结下篇
Browser class for getting started with puppeter
What are the application fields of MAG gear pump? To sum up
Preview component packaging graphic tutorial in cadence OrCAD capture schematic design interface