using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using Microsoft.CodeAnalysis; using Reptile; using UnityEngine; using UnityEngine.SceneManagement; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETFramework,Version=v4.6", FrameworkDisplayName = "")] [assembly: AssemblyCompany("IsometricCameraBRC")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyDescription("Isometric camera for Bomb Rush Cyberfunk")] [assembly: AssemblyFileVersion("0.0.1.0")] [assembly: AssemblyInformationalVersion("0.0.1")] [assembly: AssemblyProduct("IsometricCameraBRC")] [assembly: AssemblyTitle("IsometricCameraBRC")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("0.0.1.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace woodziso { [BepInPlugin("info.mariobluegloves.woodzisop", "Isometric Camera", "0.0.1")] [BepInProcess("Bomb Rush Cyberfunk.exe")] public class IsometricWoodz : BaseUnityPlugin { private const double N = 1.5; private const double S = 12.5; private const double J = 3.0; private const double A = 45.0; private const double M = 100.0; private const double O = -1.0; private const double T = 10.0; private bool sceneLoaded = false; private void Awake() { SceneManager.sceneLoaded += OnSceneLoaded; } private void OnSceneLoaded(Scene scene, LoadSceneMode mode) { sceneLoaded = true; } private void Update() { //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) if (!sceneLoaded) { return; } GameObject val = GameObject.Find("gameplayCamera(Clone)"); if ((Object)(object)val != (Object)null) { Camera component = val.GetComponent(); GameplayCamera component2 = val.GetComponent(); Scene activeScene; if ((Object)(object)component != (Object)null) { component.orthographic = true; component.orthographicSize = 12.5f; component.nearClipPlane = 1.5f; activeScene = SceneManager.GetActiveScene(); Debug.Log((object)("Orthographic camera enabled and adjusted for gameplayCamera(Clone)'s Camera in scene: " + ((Scene)(ref activeScene)).name)); sceneLoaded = false; } if ((Object)(object)component2 != (Object)null) { component2.joystickFactor = 3f; component2.lookAngleHighest = 45f; component2.lookAngleLowest = 45f; component2.maxAbovePlayer = 100f; component2.orbitFadeDuration = -1f; component2.topLocalLookAt = 10f; activeScene = SceneManager.GetActiveScene(); Debug.Log((object)("Camera settings adjusted for gameplayCamera(Clone)'s GameplayCamera in scene: " + ((Scene)(ref activeScene)).name)); sceneLoaded = false; } } } } [BepInPlugin("info.mariobluegloves.woodziso", "Isometric Camera", "0.0.1")] [BepInProcess("Bomb Rush Cyberfunk.exe")] public class ZombRush : BaseUnityPlugin { private void Awake() { ((BaseUnityPlugin)this).Logger.LogInfo((object)"Zomb Rush Cybersims"); } } }