1
This commit is contained in:
parent
62b4d320fe
commit
d59e5a6e7a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,7 +2,6 @@ using System.Collections.Generic;
|
||||
using GameConfig.actorConfig;
|
||||
using TEngine;
|
||||
using Unity.Mathematics;
|
||||
using UnityEditor.Experimental.GraphView;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GameLogic
|
||||
|
@ -656,6 +656,9 @@ namespace GameLogic
|
||||
var rectTransform = hItemActor.gameObject.GetComponent<RectTransform>();
|
||||
Vector2 targetPosition = new Vector2(127, 190 - i * (109 - 5f));
|
||||
targetPositions[rectTransform] = targetPosition;
|
||||
|
||||
// 让UI层级与排序一致
|
||||
rectTransform.SetSiblingIndex(i);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 967ed9e56c7ad6c46a7fbf00ad5c6153, type: 3}
|
||||
m_Sprite: {fileID: 21300000, guid: bf41522f17e35c244a6cbe340bddee06, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user