yyl
2025-11-26 0c27deee50c5c20f6ebb38a56319c959d2e64c56
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
 
}