少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-25 cdb0198fb8e85811ec1e06b15f36df9cbe0fdb9a
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;
}