r2mods/ilspy_dump/ror2_csproj/RoR2/RunConsoleStringOnEnable.cs

14 lines
208 B
C#

using UnityEngine;
namespace RoR2;
public class RunConsoleStringOnEnable : MonoBehaviour
{
public string consoleString;
private void OnEnable()
{
Console.instance.SubmitCmd(null, consoleString);
}
}