码迷,mamicode.com
首页 > 编程语言 > 详细

Unity的拖拽代码

时间:2014-11-26 20:49:07      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:style   blog   io   color   sp   on   div   log   cti   

using UnityEngine;
using System.Collections;

public class MyDragDropItem :UIDragDropItem{
protected override void OnDragDropRelease(GameObject surface){
        base.OnDragDropRelease(surface);
        //进行我们的处理代码了
        print(surface);
    }
    
}

 

Unity的拖拽代码

标签:style   blog   io   color   sp   on   div   log   cti   

原文地址:http://www.cnblogs.com/heisaijuzhen/p/4124792.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!