r2mods/ilspy_dump/ror2_csproj/EntityStates.Seeker/Meditate.cs

23 lines
455 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2.HudOverlay;
using UnityEngine;
namespace EntityStates.Seeker;
public class Meditate : BaseWindUp
{
[SerializeField]
public new GameObject scopeOverlayPrefab;
private OverlayController overlayController;
public override void OnEnter()
{
base.OnEnter();
overlayController = HudOverlayManager.AddOverlay(base.gameObject, new OverlayCreationParams
{
prefab = scopeOverlayPrefab,
childLocatorEntry = "ScopeContainer"
});
}
}