
UGUI实例
唐孝辉
QQ:1351105506
微信:xt411526
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
04.卡牌交换逻辑对象池
01.对象池 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// 卡片对象池 /// </summary> public class CardPool { private List<Tran...原创 2020-03-22 20:36:04 · 239 阅读 · 0 评论 -
03.卡牌拖动交换逻辑
01.卡牌基类接口 using System.Collections; using System.Collections.Generic; using UnityEngine; public interface ICard { void Init(); } 02.卡牌数据类 using System.Collections; using System.Collections.Gene...原创 2020-03-22 13:54:06 · 323 阅读 · 0 评论 -
02.圆形图片实现
1.父物体添加mask 02.原创 2020-03-14 20:29:51 · 251 阅读 · 0 评论 -
01.UI和3D物体之间的事件
01.UI和3D物体层叠时,只响应UI public class SliderCube : MonoBehaviour { private int _index; void Start() { _index = 0; } private void OnMouseDown() { ChangeColor(); ...原创 2020-03-12 23:03:40 · 190 阅读 · 0 评论