【战斗】修复血条刷新位置问题
parent
5ea3602e5e
commit
2dc9aec0c3
|
|
@ -78,7 +78,7 @@ public class UICharacterStateBar: UIUnitStateBar
|
|||
}
|
||||
}
|
||||
|
||||
Utils.CommonUtils.SetScaleWithCameraOrgSize(gameObject);
|
||||
//Utils.CommonUtils.SetScaleWithCameraOrgSize(gameObject);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue