hch
3 天以前 8730d119e7ccb0ea69b996cb76ee059cee0e07f0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//--------------------------------------------------------
//    [Author]:           玩个游戏
//    [  Date ]:           Monday, July 31, 2017
//--------------------------------------------------------
using UnityEngine;
 
//DragContainer挂载在有射线检测的物体上,指向主物件
public class DragContainer : MonoBehaviour
{
 
    public int pos;
    public Transform mainTransform; // 主节点 Transform
 
}