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("V2 Zoomies")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("V2 Zoomies")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("361d9628-0272-41fe-8792-d33475d3ecf3")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace V2_Zoomies;
[BepInPlugin("DolfeLive.Ultrakill.UltraMines", "V2Zoomies", "1.0.0")]
public class V2Zoomies : BaseUnityPlugin
{
public const string pluginGuid = "DolfeLive.Ultrakill.V2Zoomies";
public const string pluginName = "V2Zoomies";
public const string pluginVersion = "1.0.0.0";
private GameObject V2;
private Rigidbody V2RB;
private float zoomies = 500f;
private bool ZoomiesBegin = false;
private void Start()
{
((BaseUnityPlugin)this).Logger.LogInfo((object)"Started");
}
private void Awake()
{
((BaseUnityPlugin)this).Logger.LogInfo((object)"Awoke");
}
private void Update()
{
//IL_006d: Unknown result type (might be due to invalid IL or missing references)
//IL_0078: Unknown result type (might be due to invalid IL or missing references)
V2 = GameObject.Find("V2");
V2RB = V2.GetComponent<Rigidbody>();
if (Input.GetKeyDown((KeyCode)122))
{
ZoomiesBegin = !ZoomiesBegin;
((BaseUnityPlugin)this).Logger.LogInfo((object)"Zoomies swaped");
}
if (ZoomiesBegin)
{
V2RB.velocity = V2.transform.forward * zoomies;
((BaseUnityPlugin)this).Logger.LogInfo((object)"Running Zoomies");
}
}
}