- 패시브 트리 노드 배치를 삼각형 기반 자동 배치 구조로 전환하고 축 및 브릿지 반경을 재정리\n- 패시브 UI 프리팹과 런타임 렌더링을 수정해 노드 겹침, 링크 관통, 상태별 간격 변화, 하단 여백 문제를 정리\n- 프로토타입 패시브 노드, 트리, 프리셋 자산을 재생성해 최신 레이아웃과 확장 노드 구성을 반영
26 lines
836 B
C#
26 lines
836 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Colosseum.UI
|
|
{
|
|
/// <summary>
|
|
/// 패시브 트리 노드 프리팹의 참조 모음입니다.
|
|
/// </summary>
|
|
public class PassiveTreeNodeView : MonoBehaviour
|
|
{
|
|
[SerializeField] private RectTransform rootRect;
|
|
[SerializeField] private Image backgroundImage;
|
|
[SerializeField] private Image fillImage;
|
|
[SerializeField] private Image innerImage;
|
|
[SerializeField] private Button button;
|
|
[SerializeField] private Outline outline;
|
|
|
|
public RectTransform RootRect => rootRect;
|
|
public Image BackgroundImage => backgroundImage;
|
|
public Image FillImage => fillImage;
|
|
public Image InnerImage => innerImage;
|
|
public Button Button => button;
|
|
public Outline Outline => outline;
|
|
}
|
|
}
|