yyl
3 天以前 7f9ec6d10ebb5d741b10e2b4168b11ad0ebb22cd
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
 
}