![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
U3D
文章平均质量分 70
Sorhe
=-=据说这里文章质量高的一笔。。于是我来试试水。
展开
-
Unity Animator的使用技巧
1.一个小小的案例: 此脚本挂在有Animator组件的GameObject上: private Animator ScAnim; void Start () { tmpValue = bloodValue=1f; ScAnim = this.gameObject.GetComponent();获取组件 } Rayc原创 2016-04-05 12:10:49 · 3183 阅读 · 0 评论 -
Unity轻量数据保存
private int temp; void OnGUI (){ if (GUI.Button(new Rect(Screen.width / 2, Screen.height / 2, 100, 20),"Save")) { temp += 1; PlayerPrefs.SetInt("mtemp", temp)原创 2016-04-05 13:13:50 · 292 阅读 · 0 评论