using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("CGSR")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CGSR")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("77ce1909-4eef-4268-8fe8-0052405986ba")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.1", FrameworkDisplayName = ".NET Framework 4.7.1")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace CGSR;
[BepInPlugin("CGSR", "CGSR", "1.0.0")]
public class Remover : BaseUnityPlugin
{
private void Update()
{
if (SceneHelper.CurrentScene == "Endless")
{
GameObject val = GameObject.Find("Everything/Cube/Canvas");
if (!((Object)(object)val == (Object)null) && val.activeSelf)
{
val.gameObject.SetActive(false);
((BaseUnityPlugin)this).Logger.LogInfo((object)"Disabled Scoreboard.");
}
}
}
}