少年修仙传客户端代码仓库
hch
2025-06-12 204ef05a831c9484e2abc561d27ecbff7c797453
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using UnityEngine;
 
public class SoBodyControl : ScriptableObject
{
    [Tooltip("作用曲线")]
    public AnimationCurve curve;
 
    [Tooltip("表现的时间")]
    public float duration;// 移动时间
 
    [Tooltip("是否对玩家类型生效")]
    public bool useForPlayer = false;
 
    [Tooltip("是推还是拉, 打钩是推,不打钩是拉")]
    public bool pushOrPull = true;
 
    [Tooltip(@"限制位置, 以释放者为中心的偏移
               可以为负值")]
    public float limitDistance = 100;
}