hch
2 天以前 df03c997716c6f5fbd4b87c01caef1d2e75165fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using DG.Tweening;
using UnityEngine;
 
public class GoldRushPosEvent : MonoBehaviour
{
    [Header("所有点都是移动目的地,附加事件不同")]
    public PosEvent m_PosEvent;
    public Ease m_EaseType = Ease.Linear;
    public float m_Speed = 200;
    public float m_BackSlowSpeedScale = 0.5f;    //带货物回程速度放慢百分比
    public bool m_IsRandom = false;
 
    public float m_Value1 = 0;
    public float m_Value2 = 0;
    public string m_Text1 = string.Empty;
 
 
}
 
public enum PosEvent
{
    Move,
    Rush,
    Jump,
    Word,   //武将自己聊天
    Action,
    TargetFollow, //指定营地跟随
    TargetWord,  //聊天
    TargetAction,
}