少年修仙传客户端代码仓库
client_linchunjie
2019-03-04 2a86bfa84ad4ed870703022ea765e29f16d25a08
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using UnityEngine;
 
public class SoFlyObject : SoConfigBase
{
    public enum E_FlyObjectType
    {
        Normal,// 正常
        Follow,// 跟随
        Cyclotron,// 回旋
        Transmit,// 传递连线
    }
 
    public string shootNode;// 发射节点
    public int ammoEffectId;// 武器特效ID
    public int blastEffectId;// 爆炸特效ID
    public float radius;// 碰撞半径
 
    public bool disppearWhenHitFinished;// 伤害次数足够后是否爆炸
    public int hurtInterval;// 伤害间隔, 为0则对任何对象只伤害一次
    public int maxHitCount;// 最大伤害次数
 
    [HideInInspector]
    public E_FlyObjectType type;
}