- 博客(6)
- 收藏
- 关注
原创 Unity RawImage和Image的区别
RawImage和Image的区别: Image控件用于显示Sprite类型的图片 RawImage控件用于显示Texture类型图片
2021-03-29 13:05:06 1219 1
原创 Unity 点击Button改变Text的显示内容
在Canvas中创建Button和Text 写C#script代码 using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI;public class Button : MonoBehaviour{ //Make sure to attach these Buttons in the Inspector public Button m_You
2021-03-25 21:13:56 3452 2
原创 Unity中修改Text的内容
Unity中修改Text的内容//Attach this script to a GameObject.//Create a Text GameObject (Create>UI>Text) and attach it to the My Text field in the Inspector of your GameObject//Press the space bar in Play Mode to see the Text change.using UnityEngine;
2021-03-25 17:36:59 11113
转载 安卓颜色设置
<color name="white">#ffffff</color> <!-- 白色 --> <color name="ivory">#fffff0</color> <!-- 象牙色 --> <color name="lightyellow">#ffffe0</color> &...
2020-03-16 10:48:07 174
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人