【战斗】修复血条刷新位置问题

main
chenyuqi 2023-10-26 18:12:43 +08:00
parent 5ea3602e5e
commit 2dc9aec0c3
2 changed files with 3 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public class UICharacterStateBar: UIUnitStateBar
}
}
Utils.CommonUtils.SetScaleWithCameraOrgSize(gameObject);
//Utils.CommonUtils.SetScaleWithCameraOrgSize(gameObject);
}

View File

@ -239,7 +239,8 @@ public class UIFightSceneController : UIWindow{
pos = new Vector3(pos.x, pos.y, 0);
go.transform.position = pos;
go.transform.localScale = new Vector3(1, 1, 1);
//go.transform.localScale = new Vector3(1, 1, 1);
CommonUtils.SetScaleWithCameraOrgSize(go);
}
void SetActionStatesPos(GameObject go, Character character)