NGUI 实现对UISprite 的拖拽
来源:互联网 发布:罗马之子优化 编辑:程序博客网 时间:2024/05/29 15:52
using UnityEngine;using System.Collections;public class MyDragandDropItem : UIDragDropItem {protected override void OnDragDropRelease(GameObject surface)<span style="white-space:pre"></span>//拖拽释放事件 { base.OnDragDropRelease(surface); //print(surface); if (surface != null) { this.transform.parent = surface.transform; this.transform.localPosition = Vector3.zero; } }}
0 0
- NGUI 实现对UISprite 的拖拽
- NGUI实现UISprite拼接
- [Shader]对NGUI的UISprite和UITexture进行裁剪
- 对NGUI的UISprite和UITexture进行裁剪,圆形裁剪
- [Shader]对NGUI的UISprite和UITexture进行裁剪
- NGUI -- UISprite
- [Shader]对NGUI的UISprite和UITexture进行裁剪(scrollview + 遮罩)
- Unity3d NGUI的drawcall,UISprite与UITexture
- NGUI批量设置UISprite的Atlas
- NGUI 代码实现UISprite显示图片原尺寸的snap功能
- 【Unity3D】【NGUI】UISprite
- unity开发 --------- NGUI (UISprite)
- NGUI-UISprite
- NGUI之UISprite
- NGUI之UISprite
- Unity NGUI UIBotton/UISprite
- Unity NGUI UISprite
- NGUI的UITexture和UISprite的比较【NGUI3.5.8】
- 敏捷开发 scrum 宣言
- 2.2.2 数与字符串
- Java栈
- Pipe
- xib中使用auto layout
- NGUI 实现对UISprite 的拖拽
- 从静态库中提取文件
- 2.2.3 数据类型
- 基于CNN的人脸识别
- (有码)代理模式导航控制器传值
- Do not request Window.FEATURE_ACTION_BAR and set windowActionBar to false 错误
- 2.2.4 认识标识符
- 动态加载切换Atlas资源
- POJ--2299 Ultra-QuickSort(离散化 + 求逆序数)