yyl
2025-10-31 ced4b870a7708881fbee76b5b5e06b528de359fd
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
 
}