using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(/*Could not decode attribute arguments.*/)]
[assembly: TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
[assembly: AssemblyCompany("ClassLibrary3")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("ClassLibrary3")]
[assembly: AssemblyTitle("ClassLibrary3")]
[assembly: AssemblyVersion("1.0.0.0")]
[module: RefSafetyRules(11)]
namespace SANIC;
[BepInPlugin("SANIC.fishsnacks.ultrakill", "SANIC", "0.0.5")]
public class Class1 : BaseUnityPlugin
{
private NewMovement player;
private void Update()
{
//IL_0023: Unknown result type (might be due to invalid IL or missing references)
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Unknown result type (might be due to invalid IL or missing references)
//IL_005a: Unknown result type (might be due to invalid IL or missing references)
//IL_007d: Unknown result type (might be due to invalid IL or missing references)
//IL_0087: Unknown result type (might be due to invalid IL or missing references)
//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
//IL_00b4: Unknown result type (might be due to invalid IL or missing references)
//IL_00d9: Unknown result type (might be due to invalid IL or missing references)
//IL_00e3: Unknown result type (might be due to invalid IL or missing references)
//IL_0108: Unknown result type (might be due to invalid IL or missing references)
//IL_0112: Unknown result type (might be due to invalid IL or missing references)
player = MonoSingleton<NewMovement>.Instance;
if (Input.GetKeyDown((KeyCode)105))
{
player.rb.AddForce(Vector3.forward * 6000000f);
}
if (Input.GetKeyDown((KeyCode)107))
{
player.rb.AddForce(Vector3.back * 6000000f);
}
if (Input.GetKeyDown((KeyCode)106))
{
player.rb.AddForce(Vector3.left * 6000000f);
}
if (Input.GetKeyDown((KeyCode)108))
{
player.rb.AddForce(Vector3.right * 6000000f);
}
if (Input.GetKeyDown((KeyCode)116))
{
player.rb.AddForce(Vector3.up * 600000f);
}
if (Input.GetKeyDown((KeyCode)121))
{
player.rb.AddForce(Vector3.down * 6000000f);
}
}
}