internal void Initialize() { if (replBackend == null) { replBackend = new REPLBackend(); } toggleTooltip = "Click to toggle C# REPL"; if (magicPixel == null) { magicPixel = new Texture2D(Main.graphics.GraphicsDevice, 1, 1); magicPixel.SetData(new Color[] { new Color(1, 1, 1) }); } }
public override void Initialize() { replBackend = new REPLBackend(); ToggleTooltip = "Click to toggle C# REPL"; }