1
This commit is contained in:
parent
7d142b99e0
commit
347cf4e379
Binary file not shown.
@ -49,7 +49,7 @@ namespace GameLogic
|
||||
private List<UnitPlayerData> m_ListUnitPlayDatas = new List<UnitPlayerData>();
|
||||
|
||||
private float m_AddPush = 0.1f; // 初始推力值
|
||||
private double m_AllPush = 0; // 当前总值
|
||||
public double m_AllPush = 0; // 当前总值
|
||||
private int m_AllAddPush = 0;//永久增加推力值
|
||||
private int m_AssetID = 0; // 资源ID,用于加载资源
|
||||
|
||||
@ -280,7 +280,7 @@ namespace GameLogic
|
||||
|
||||
// 给进度条一个缩减回弹效果
|
||||
float originalFill = m_CurrentFillAmount;
|
||||
float shrinkTo = Mathf.Max(0.1f, originalFill - 0.2f); // 缩到原值-0.2,最小0.1
|
||||
float shrinkTo = Mathf.Max(0.1f, originalFill - 0.4f); // 缩到原值-0.2,最小0.1
|
||||
DOTween.To(
|
||||
() => m_imgValue.fillAmount,
|
||||
x => m_imgValue.fillAmount = x,
|
||||
|
@ -14,6 +14,7 @@ namespace GameLogic
|
||||
public static int InitPower = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).InitPower; // 初始推力
|
||||
public static float PlayerScale = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).PlayerScale; // 初始推力
|
||||
public static string GmPass = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).GmPassworld; // Gm解锁密码
|
||||
public static float JszPower = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).JszPower; // Gm解锁密码
|
||||
public static float WaiXingScale = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).WaiXingScale;
|
||||
public static float WaiXingBeiLv = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).WaiXingBeiLv;
|
||||
public static bool isGmPass = false; // 是否解锁
|
||||
|
@ -880,6 +880,7 @@ namespace GameLogic
|
||||
eGo.GetComponent<SignalReceiver>().GetReaction(JszSignal).AddListener(() =>
|
||||
{
|
||||
//hItemActors[1].actor.SetCurrenFill();
|
||||
targetActor.m_AllPush -= EventConts.JszPower * 10;
|
||||
targetActor.SetCurrenFill();
|
||||
//eGo.transform.parent.parent.parent.parent.GetComponent<ActorHItem>().SetCurrenFill();
|
||||
});
|
||||
@ -904,6 +905,7 @@ namespace GameLogic
|
||||
eGo.GetComponent<SignalReceiver>().GetReaction(JszSignal).RemoveAllListeners();
|
||||
eGo.GetComponent<SignalReceiver>().GetReaction(JszSignal).AddListener(() =>
|
||||
{
|
||||
targetActor.m_AllPush -= EventConts.JszPower;
|
||||
targetActor.SetCurrenFill();
|
||||
//eGo.transform.parent.parent.parent.parent.GetComponent<ActorHItem>().SetCurrenFill();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user