各种修复
This commit is contained in:
@@ -65,7 +65,7 @@ namespace Continentis.MainGame.UI
|
||||
{
|
||||
string paramKey = synchronizedParameters[index];
|
||||
Func<string> func = buff.contentSubmodule.parameterGetters[paramKey];
|
||||
Debug.Log($"Updating buff icon text for parameter {paramKey} with func is {func == null}");
|
||||
Debug.Log($"Updating buff icon text for parameter {paramKey} with func is {func != null}");
|
||||
SetText(index, func);
|
||||
}
|
||||
|
||||
@@ -115,7 +115,8 @@ namespace Continentis.MainGame.UI
|
||||
dispelThreshold = dispelThreshold.Localize();
|
||||
|
||||
string finalDescription = buff.contentSubmodule.interpretedFunctionText + "\n" + dispelThreshold;
|
||||
infoBox.Initialize(buff.contentSubmodule.displayName, finalDescription, canvasTransform.InverseTransformPoint(rectTransform.position));
|
||||
Vector2 basePosition = canvasTransform.InverseTransformPoint(rectTransform.position);
|
||||
infoBox.Initialize(buff.contentSubmodule.displayName, finalDescription, basePosition);
|
||||
|
||||
Debug.Log("Pointer Enter Buff Icon");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user