r2mods/ilspy_dump/ror2_csproj/RoR2.UI/InspectPanelLocator.cs

14 lines
264 B
C#

using UnityEngine;
namespace RoR2.UI;
public class InspectPanelLocator : MonoBehaviour
{
public InspectPanelController InspectPanel { get; private set; }
private void Awake()
{
InspectPanel = GetComponentInParent<InspectPanelProvider>().InspectPanel;
}
}