Decompiled source of NeoGeo Arcade v1.0.0
NeoGeo_Arcade.dll
Decompiled 2 weeks ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; using System.Security.Permissions; using BepInEx; using BepInEx.Logging; using DG.Tweening; using EnemyUtils; using FistVR; using JerryArcade; using Mission169; using OtherLoader; using Slug; using SlugLib; using UnityEditor; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.Events; using UnityEngine.SceneManagement; using UnityEngine.UI; using Utils; [assembly: Debuggable(DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("0.0.0.0")] [module: UnverifiableCode] namespace JerryArcade { public class AmIUnderGround : MonoBehaviour { public GameObject subobj; private void Start() { subobj.SetActive(false); } private void Update() { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) if (((Component)this).gameObject.transform.position.y > -125f) { subobj.SetActive(false); } else if (((Component)this).gameObject.transform.position.y < -125f) { subobj.SetActive(true); } } } public class ArcadeByWindows : MonoBehaviour { public GameManager GM; public InputManager Input; public AudioEvent click; public float buttimer = 0f; public bool start = false; public string AppName; public GameObject JoyStick1; public GameObject JoyStick2; public GameObject ButtA; public GameObject ButtB; public GameObject ButtC; public GameObject ButtD; public GameObject ButtA2; public GameObject ButtB2; public GameObject ButtC2; public GameObject ButtD2; public GameObject ButtStart; public GameObject GameSelect; public GameObject ButtStart2; public GameObject GameSelect2; public bool ButtPressed = false; public bool ButtPressed2 = false; public FVRInteractiveObject stickgrab1; public FVRInteractiveObject stickgrab2; public GameObject reference1; public GameObject reference2; public bool res = false; public GameObject powerbutton; public bool isOn = false; public float countKey = 0f; public bool isSwitched = false; public bool isDebug = false; public bool isJump = false; public bool isShoot = false; public bool isGrenade = false; private void Start() { } private void A() { if ((Object)(object)Input != (Object)null) { Input.fireKey = true; } } private void B() { if ((Object)(object)Input != (Object)null) { Input.jump = true; } } private void C() { } private void ST() { GM.StartMission(); GM.MissionRetry(); } private void FixedUpdate() { //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00d7: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Unknown result type (might be due to invalid IL or missing references) //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0167: Unknown result type (might be due to invalid IL or missing references) //IL_018f: Unknown result type (might be due to invalid IL or missing references) //IL_0194: Unknown result type (might be due to invalid IL or missing references) //IL_01ac: Unknown result type (might be due to invalid IL or missing references) //IL_01cc: Unknown result type (might be due to invalid IL or missing references) //IL_01d1: Unknown result type (might be due to invalid IL or missing references) //IL_01f0: Unknown result type (might be due to invalid IL or missing references) //IL_01f5: Unknown result type (might be due to invalid IL or missing references) //IL_0204: Unknown result type (might be due to invalid IL or missing references) //IL_0219: Unknown result type (might be due to invalid IL or missing references) //IL_021e: Unknown result type (might be due to invalid IL or missing references) //IL_13aa: Unknown result type (might be due to invalid IL or missing references) //IL_13ca: Unknown result type (might be due to invalid IL or missing references) //IL_13cf: Unknown result type (might be due to invalid IL or missing references) //IL_13f7: Unknown result type (might be due to invalid IL or missing references) //IL_13fc: Unknown result type (might be due to invalid IL or missing references) //IL_1414: Unknown result type (might be due to invalid IL or missing references) //IL_1434: Unknown result type (might be due to invalid IL or missing references) //IL_1439: Unknown result type (might be due to invalid IL or missing references) //IL_1458: Unknown result type (might be due to invalid IL or missing references) //IL_145d: Unknown result type (might be due to invalid IL or missing references) //IL_146c: Unknown result type (might be due to invalid IL or missing references) //IL_148b: Unknown result type (might be due to invalid IL or missing references) //IL_149b: Unknown result type (might be due to invalid IL or missing references) //IL_1009: Unknown result type (might be due to invalid IL or missing references) //IL_100e: Unknown result type (might be due to invalid IL or missing references) //IL_1036: Unknown result type (might be due to invalid IL or missing references) //IL_103b: Unknown result type (might be due to invalid IL or missing references) //IL_1053: Unknown result type (might be due to invalid IL or missing references) //IL_1073: Unknown result type (might be due to invalid IL or missing references) //IL_1078: Unknown result type (might be due to invalid IL or missing references) //IL_1097: Unknown result type (might be due to invalid IL or missing references) //IL_109c: Unknown result type (might be due to invalid IL or missing references) //IL_10ab: Unknown result type (might be due to invalid IL or missing references) //IL_10c0: Unknown result type (might be due to invalid IL or missing references) //IL_10c5: Unknown result type (might be due to invalid IL or missing references) //IL_0285: Unknown result type (might be due to invalid IL or missing references) //IL_028a: Unknown result type (might be due to invalid IL or missing references) //IL_023c: Unknown result type (might be due to invalid IL or missing references) //IL_0241: Unknown result type (might be due to invalid IL or missing references) //IL_1c5c: Unknown result type (might be due to invalid IL or missing references) //IL_1c80: Unknown result type (might be due to invalid IL or missing references) //IL_1cab: Unknown result type (might be due to invalid IL or missing references) //IL_1ccf: Unknown result type (might be due to invalid IL or missing references) //IL_1cf3: Unknown result type (might be due to invalid IL or missing references) //IL_1d17: Unknown result type (might be due to invalid IL or missing references) //IL_1d3b: Unknown result type (might be due to invalid IL or missing references) //IL_15ac: Unknown result type (might be due to invalid IL or missing references) //IL_15bc: Unknown result type (might be due to invalid IL or missing references) //IL_14ca: Unknown result type (might be due to invalid IL or missing references) //IL_14ee: Unknown result type (might be due to invalid IL or missing references) //IL_1512: Unknown result type (might be due to invalid IL or missing references) //IL_1536: Unknown result type (might be due to invalid IL or missing references) //IL_155a: Unknown result type (might be due to invalid IL or missing references) //IL_112c: Unknown result type (might be due to invalid IL or missing references) //IL_1131: Unknown result type (might be due to invalid IL or missing references) //IL_10e3: Unknown result type (might be due to invalid IL or missing references) //IL_10e8: Unknown result type (might be due to invalid IL or missing references) //IL_0ed8: Unknown result type (might be due to invalid IL or missing references) //IL_0efc: Unknown result type (might be due to invalid IL or missing references) //IL_0f27: Unknown result type (might be due to invalid IL or missing references) //IL_0f4b: Unknown result type (might be due to invalid IL or missing references) //IL_0f6f: Unknown result type (might be due to invalid IL or missing references) //IL_0f93: Unknown result type (might be due to invalid IL or missing references) //IL_0fb7: Unknown result type (might be due to invalid IL or missing references) //IL_02f1: Unknown result type (might be due to invalid IL or missing references) //IL_02f6: Unknown result type (might be due to invalid IL or missing references) //IL_02a8: Unknown result type (might be due to invalid IL or missing references) //IL_02ad: Unknown result type (might be due to invalid IL or missing references) //IL_16cd: Unknown result type (might be due to invalid IL or missing references) //IL_16dd: Unknown result type (might be due to invalid IL or missing references) //IL_15eb: Unknown result type (might be due to invalid IL or missing references) //IL_160f: Unknown result type (might be due to invalid IL or missing references) //IL_1633: Unknown result type (might be due to invalid IL or missing references) //IL_1657: Unknown result type (might be due to invalid IL or missing references) //IL_167b: Unknown result type (might be due to invalid IL or missing references) //IL_1583: Unknown result type (might be due to invalid IL or missing references) //IL_1193: Unknown result type (might be due to invalid IL or missing references) //IL_1198: Unknown result type (might be due to invalid IL or missing references) //IL_114f: Unknown result type (might be due to invalid IL or missing references) //IL_1154: Unknown result type (might be due to invalid IL or missing references) //IL_0358: Unknown result type (might be due to invalid IL or missing references) //IL_035d: Unknown result type (might be due to invalid IL or missing references) //IL_0314: Unknown result type (might be due to invalid IL or missing references) //IL_0319: Unknown result type (might be due to invalid IL or missing references) //IL_17ee: Unknown result type (might be due to invalid IL or missing references) //IL_17fe: Unknown result type (might be due to invalid IL or missing references) //IL_170c: Unknown result type (might be due to invalid IL or missing references) //IL_1730: Unknown result type (might be due to invalid IL or missing references) //IL_1754: Unknown result type (might be due to invalid IL or missing references) //IL_1778: Unknown result type (might be due to invalid IL or missing references) //IL_179c: Unknown result type (might be due to invalid IL or missing references) //IL_16a4: Unknown result type (might be due to invalid IL or missing references) //IL_11ff: Unknown result type (might be due to invalid IL or missing references) //IL_1204: Unknown result type (might be due to invalid IL or missing references) //IL_11b6: Unknown result type (might be due to invalid IL or missing references) //IL_11bb: Unknown result type (might be due to invalid IL or missing references) //IL_03c4: Unknown result type (might be due to invalid IL or missing references) //IL_03c9: Unknown result type (might be due to invalid IL or missing references) //IL_037b: Unknown result type (might be due to invalid IL or missing references) //IL_0380: Unknown result type (might be due to invalid IL or missing references) //IL_190f: Unknown result type (might be due to invalid IL or missing references) //IL_191f: Unknown result type (might be due to invalid IL or missing references) //IL_182d: Unknown result type (might be due to invalid IL or missing references) //IL_1851: Unknown result type (might be due to invalid IL or missing references) //IL_1875: Unknown result type (might be due to invalid IL or missing references) //IL_1899: Unknown result type (might be due to invalid IL or missing references) //IL_18bd: Unknown result type (might be due to invalid IL or missing references) //IL_17c5: Unknown result type (might be due to invalid IL or missing references) //IL_1266: Unknown result type (might be due to invalid IL or missing references) //IL_126b: Unknown result type (might be due to invalid IL or missing references) //IL_1222: Unknown result type (might be due to invalid IL or missing references) //IL_1227: Unknown result type (might be due to invalid IL or missing references) //IL_0430: Unknown result type (might be due to invalid IL or missing references) //IL_0435: Unknown result type (might be due to invalid IL or missing references) //IL_03e7: Unknown result type (might be due to invalid IL or missing references) //IL_03ec: Unknown result type (might be due to invalid IL or missing references) //IL_1a35: Unknown result type (might be due to invalid IL or missing references) //IL_1a45: Unknown result type (might be due to invalid IL or missing references) //IL_194e: Unknown result type (might be due to invalid IL or missing references) //IL_1972: Unknown result type (might be due to invalid IL or missing references) //IL_1996: Unknown result type (might be due to invalid IL or missing references) //IL_19ba: Unknown result type (might be due to invalid IL or missing references) //IL_19de: Unknown result type (might be due to invalid IL or missing references) //IL_18e6: Unknown result type (might be due to invalid IL or missing references) //IL_12cd: Unknown result type (might be due to invalid IL or missing references) //IL_12d2: Unknown result type (might be due to invalid IL or missing references) //IL_1289: Unknown result type (might be due to invalid IL or missing references) //IL_128e: Unknown result type (might be due to invalid IL or missing references) //IL_04a1: Unknown result type (might be due to invalid IL or missing references) //IL_04b1: Unknown result type (might be due to invalid IL or missing references) //IL_0453: Unknown result type (might be due to invalid IL or missing references) //IL_0458: Unknown result type (might be due to invalid IL or missing references) //IL_1a6e: Unknown result type (might be due to invalid IL or missing references) //IL_1a7e: Unknown result type (might be due to invalid IL or missing references) //IL_1a07: Unknown result type (might be due to invalid IL or missing references) //IL_12f0: Unknown result type (might be due to invalid IL or missing references) //IL_12f5: Unknown result type (might be due to invalid IL or missing references) //IL_05e8: Unknown result type (might be due to invalid IL or missing references) //IL_05f8: Unknown result type (might be due to invalid IL or missing references) //IL_04e0: Unknown result type (might be due to invalid IL or missing references) //IL_0504: Unknown result type (might be due to invalid IL or missing references) //IL_0528: Unknown result type (might be due to invalid IL or missing references) //IL_054c: Unknown result type (might be due to invalid IL or missing references) //IL_0570: Unknown result type (might be due to invalid IL or missing references) //IL_1aa7: Unknown result type (might be due to invalid IL or missing references) //IL_1ab7: Unknown result type (might be due to invalid IL or missing references) //IL_06a3: Unknown result type (might be due to invalid IL or missing references) //IL_06b3: Unknown result type (might be due to invalid IL or missing references) //IL_1ae0: Unknown result type (might be due to invalid IL or missing references) //IL_1af0: Unknown result type (might be due to invalid IL or missing references) //IL_07ea: Unknown result type (might be due to invalid IL or missing references) //IL_07fa: Unknown result type (might be due to invalid IL or missing references) //IL_06e2: Unknown result type (might be due to invalid IL or missing references) //IL_0706: Unknown result type (might be due to invalid IL or missing references) //IL_072a: Unknown result type (might be due to invalid IL or missing references) //IL_074e: Unknown result type (might be due to invalid IL or missing references) //IL_0772: Unknown result type (might be due to invalid IL or missing references) //IL_062c: Unknown result type (might be due to invalid IL or missing references) //IL_05af: Unknown result type (might be due to invalid IL or missing references) //IL_1b19: Unknown result type (might be due to invalid IL or missing references) //IL_1b29: Unknown result type (might be due to invalid IL or missing references) //IL_08a5: Unknown result type (might be due to invalid IL or missing references) //IL_08b5: Unknown result type (might be due to invalid IL or missing references) //IL_0678: Unknown result type (might be due to invalid IL or missing references) //IL_09ec: Unknown result type (might be due to invalid IL or missing references) //IL_09fc: Unknown result type (might be due to invalid IL or missing references) //IL_08e4: Unknown result type (might be due to invalid IL or missing references) //IL_0908: Unknown result type (might be due to invalid IL or missing references) //IL_092c: Unknown result type (might be due to invalid IL or missing references) //IL_0950: Unknown result type (might be due to invalid IL or missing references) //IL_0974: Unknown result type (might be due to invalid IL or missing references) //IL_082e: Unknown result type (might be due to invalid IL or missing references) //IL_07bc: Unknown result type (might be due to invalid IL or missing references) //IL_1b8a: Unknown result type (might be due to invalid IL or missing references) //IL_1bae: Unknown result type (might be due to invalid IL or missing references) //IL_1bd2: Unknown result type (might be due to invalid IL or missing references) //IL_1bf6: Unknown result type (might be due to invalid IL or missing references) //IL_1c1a: Unknown result type (might be due to invalid IL or missing references) //IL_1b5d: Unknown result type (might be due to invalid IL or missing references) //IL_0aa7: Unknown result type (might be due to invalid IL or missing references) //IL_0ab7: Unknown result type (might be due to invalid IL or missing references) //IL_087a: Unknown result type (might be due to invalid IL or missing references) //IL_0be8: Unknown result type (might be due to invalid IL or missing references) //IL_0bf8: Unknown result type (might be due to invalid IL or missing references) //IL_0ae6: Unknown result type (might be due to invalid IL or missing references) //IL_0b0a: Unknown result type (might be due to invalid IL or missing references) //IL_0b2e: Unknown result type (might be due to invalid IL or missing references) //IL_0b52: Unknown result type (might be due to invalid IL or missing references) //IL_0b76: Unknown result type (might be due to invalid IL or missing references) //IL_0a30: Unknown result type (might be due to invalid IL or missing references) //IL_09be: Unknown result type (might be due to invalid IL or missing references) //IL_0c84: Unknown result type (might be due to invalid IL or missing references) //IL_0c94: Unknown result type (might be due to invalid IL or missing references) //IL_0a7c: Unknown result type (might be due to invalid IL or missing references) //IL_0dcb: Unknown result type (might be due to invalid IL or missing references) //IL_0ddb: Unknown result type (might be due to invalid IL or missing references) //IL_0cc3: Unknown result type (might be due to invalid IL or missing references) //IL_0ce7: Unknown result type (might be due to invalid IL or missing references) //IL_0d0b: Unknown result type (might be due to invalid IL or missing references) //IL_0d2f: Unknown result type (might be due to invalid IL or missing references) //IL_0d53: Unknown result type (might be due to invalid IL or missing references) //IL_0c59: Unknown result type (might be due to invalid IL or missing references) //IL_0c2c: Unknown result type (might be due to invalid IL or missing references) //IL_0bba: Unknown result type (might be due to invalid IL or missing references) //IL_0e3c: Unknown result type (might be due to invalid IL or missing references) //IL_0e0f: Unknown result type (might be due to invalid IL or missing references) //IL_0d9d: Unknown result type (might be due to invalid IL or missing references) if (powerbutton.transform.localEulerAngles.x > 65f && powerbutton.transform.localEulerAngles.x < 75f) { ST(); } buttimer -= Time.deltaTime; if (buttimer < 0f) { buttimer = 0f; } if ((Object)(object)Input == (Object)null) { } if (powerbutton.transform.localEulerAngles.x > 45f) { if (!isOn) { isOn = true; } } else if (powerbutton.transform.localEulerAngles.x < 45f && isOn) { isOn = false; } if (!isDebug) { if ((Object)(object)stickgrab1.m_hand != (Object)null) { reference1.transform.position = ((Component)stickgrab1.m_hand).transform.position; reference1.transform.localPosition = new Vector3(Mathf.Clamp(reference1.transform.localPosition.x, -1f, 1f), 0f, Mathf.Clamp(reference1.transform.localPosition.z, -1f, 1f)); JoyStick1.transform.localEulerAngles = new Vector3(reference1.transform.localPosition.z * 30f, 0f, reference1.transform.localPosition.x * -30f); if (reference1.transform.localPosition.z >= 0.5f && reference1.transform.localPosition.z <= 1.5f) { if ((Object)(object)Input != (Object)null) { Input.verticalKey = 1; } } else if (reference1.transform.localPosition.z <= -0.5f && reference1.transform.localPosition.z >= -1.5f) { if ((Object)(object)Input != (Object)null) { Input.verticalKey = -1; } } else if (reference1.transform.localEulerAngles.z < 0.5f && reference1.transform.localEulerAngles.z > -0.5f && (Object)(object)Input != (Object)null) { Input.verticalKey = 0; } if (reference1.transform.localPosition.x >= 0.5f && reference1.transform.localPosition.x <= 1.5f) { if ((Object)(object)Input != (Object)null) { Input.horizontalKey = 1; } } else if (reference1.transform.localPosition.x <= -0.5f && reference1.transform.localPosition.x >= -1.5f) { if ((Object)(object)Input != (Object)null) { Input.horizontalKey = -1; } } else if (reference1.transform.localEulerAngles.x < 0.5f && reference1.transform.localEulerAngles.x > -0.5f && (Object)(object)Input != (Object)null) { Input.horizontalKey = 0; } if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtA.transform.position) < 0.05f) { ButtA.transform.localPosition = new Vector3(0f, 0f, 0f); ButtB.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed && buttimer <= 0f) { A(); SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtA.transform.position); buttimer = 0.1f; ButtPressed = true; } } else if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtA.transform.position) >= 0.05f) { if (ButtPressed) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtA.transform.position); ButtPressed = false; } if ((Object)(object)Input != (Object)null) { Input.fireKey = false; } ButtA.transform.localPosition = new Vector3(0f, 0.5f, 0f); buttimer = 0f; } if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtB.transform.position) < 0.05f) { ButtA.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB.transform.localPosition = new Vector3(0f, 0f, 0f); ButtC.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed && buttimer <= 0f) { B(); buttimer = 0.1f; SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtB.transform.position); ButtPressed = true; } } else if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtB.transform.position) >= 0.05f) { if (ButtPressed) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtB.transform.position); ButtPressed = false; } if ((Object)(object)Input != (Object)null) { Input.jump = false; } ButtB.transform.localPosition = new Vector3(0f, 0.5f, 0f); buttimer = 0f; } if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtC.transform.position) < 0.05f) { ButtA.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC.transform.localPosition = new Vector3(0f, 0f, 0f); ButtD.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed && buttimer <= 0f) { C(); buttimer = 0.1f; SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtC.transform.position); ButtPressed = true; } } else if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtC.transform.position) >= 0.05f) { if (ButtPressed) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtC.transform.position); ButtPressed = false; } if ((Object)(object)Input != (Object)null) { Input.grenadeKey = false; } ButtC.transform.localPosition = new Vector3(0f, 0.5f, 0f); buttimer = 0f; } if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtD.transform.position) < 0.05f) { ButtA.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD.transform.localPosition = new Vector3(0f, 0f, 0f); ButtStart.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed && buttimer <= 0f) { buttimer = 0.1f; SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtD.transform.position); ButtPressed = true; } } else if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtD.transform.position) >= 0.05f) { if (ButtPressed) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtD.transform.position); ButtPressed = false; } ButtD.transform.localPosition = new Vector3(0f, 0.5f, 0f); buttimer = 0f; } if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtStart.transform.position) < 0.05f) { ButtA.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart.transform.localPosition = new Vector3(0f, 0f, 0f); if (!ButtPressed && buttimer <= 0f) { ST(); buttimer = 0.1f; SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtStart.transform.position); ButtPressed = true; } } else if (Vector3.Distance(((Component)stickgrab1.m_hand.OtherHand).transform.position, ButtStart.transform.position) >= 0.05f) { if (ButtPressed) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtA.transform.position); ButtPressed = false; } ButtStart.transform.localPosition = new Vector3(0f, 0.5f, 0f); buttimer = 0f; } } else if ((Object)(object)stickgrab1.m_hand == (Object)null) { if ((Object)(object)Input != (Object)null) { Input.horizontalKey = 0; Input.verticalKey = 0; Input.jump = false; Input.fireKey = false; Input.grenadeKey = false; } JoyStick1.transform.localEulerAngles = new Vector3(0f, 0f, 0f); reference1.transform.localPosition = new Vector3(0f, 0f, 0f); ButtPressed = false; ButtA.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart.transform.localPosition = new Vector3(0f, 0.5f, 0f); } } else if (isDebug) { if (start) { GM.StartMission(); start = false; } reference1.transform.localPosition = new Vector3(Mathf.Clamp(reference1.transform.localPosition.x, -1f, 1f), 0f, Mathf.Clamp(reference1.transform.localPosition.z, -1f, 1f)); JoyStick1.transform.localEulerAngles = new Vector3(reference1.transform.localPosition.z * 30f, 0f, reference1.transform.localPosition.x * -30f); if (reference1.transform.localPosition.z >= 0.5f && reference1.transform.localPosition.z <= 1f) { if ((Object)(object)Input != (Object)null) { Input.verticalKey = 1; } } else if (reference1.transform.localPosition.z <= -0.5f && reference1.transform.localPosition.z >= -1f && (Object)(object)Input != (Object)null) { Input.verticalKey = -1; } if (reference1.transform.localPosition.x >= 0.5f && reference1.transform.localPosition.x <= 1f) { if ((Object)(object)Input != (Object)null) { Input.horizontalKey = 1; } } else if (reference1.transform.localPosition.x <= -0.5f && reference1.transform.localPosition.x >= -1f && (Object)(object)Input != (Object)null) { Input.horizontalKey = -1; } if (reference1.transform.localPosition.x < 0.5f && reference1.transform.localPosition.x > -0.5f && (Object)(object)Input != (Object)null) { Input.horizontalKey = 0; } if (reference1.transform.localPosition.z < 0.5f && reference1.transform.localPosition.z > -0.5f && (Object)(object)Input != (Object)null) { Input.verticalKey = 0; } if (isShoot) { A(); isShoot = false; } if (isJump) { B(); isJump = false; } if (isGrenade) { C(); isGrenade = false; } } if ((Object)(object)stickgrab2.m_hand != (Object)null) { reference2.transform.position = ((Component)stickgrab2.m_hand).transform.position; reference2.transform.localPosition = new Vector3(Mathf.Clamp(reference2.transform.localPosition.x, -1f, 1f), 0f, Mathf.Clamp(reference2.transform.localPosition.z, -1f, 1f)); JoyStick2.transform.localEulerAngles = new Vector3(reference2.transform.localPosition.z * 30f, 0f, reference2.transform.localPosition.x * -30f); if (Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtA2.transform.position) < 0.04f) { ButtA2.transform.localPosition = new Vector3(0f, 0f, 0f); ButtB2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart2.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed2) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtA2.transform.position); ButtPressed2 = true; } } if (Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtB2.transform.position) < 0.04f) { ButtA2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB2.transform.localPosition = new Vector3(0f, 0f, 0f); ButtC2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart2.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed2) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtB2.transform.position); ButtPressed2 = true; } } if (Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtC2.transform.position) < 0.04f) { ButtA2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC2.transform.localPosition = new Vector3(0f, 0f, 0f); ButtD2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart2.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed2) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtC2.transform.position); ButtPressed2 = true; } } if (Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtD2.transform.position) < 0.04f) { ButtA2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD2.transform.localPosition = new Vector3(0f, 0f, 0f); ButtStart2.transform.localPosition = new Vector3(0f, 0.5f, 0f); if (!ButtPressed2) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtD2.transform.position); ButtPressed2 = true; } } if (Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtStart2.transform.position) < 0.04f) { ButtA2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart2.transform.localPosition = new Vector3(0f, 0f, 0f); if (!ButtPressed2) { SM.PlayCoreSound((FVRPooledAudioType)41, click, ButtStart.transform.position); ButtPressed2 = true; } } else if (Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtA2.transform.position) >= 0.04f && Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtB2.transform.position) >= 0.04f && Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtC2.transform.position) >= 0.04f && Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtD2.transform.position) >= 0.04f && Vector3.Distance(((Component)stickgrab2.m_hand.OtherHand).transform.position, ButtStart2.transform.position) >= 0.04f) { if (ButtPressed2) { SM.PlayCoreSound((FVRPooledAudioType)41, click, JoyStick2.transform.position); ButtPressed2 = false; } ButtA2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart2.transform.localPosition = new Vector3(0f, 0.5f, 0f); } } else if ((Object)(object)stickgrab2.m_hand == (Object)null) { JoyStick2.transform.localEulerAngles = new Vector3(0f, 0f, 0f); reference2.transform.localPosition = new Vector3(0f, 0f, 0f); ButtPressed2 = false; ButtA2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtB2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtC2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtD2.transform.localPosition = new Vector3(0f, 0.5f, 0f); ButtStart2.transform.localPosition = new Vector3(0f, 0.5f, 0f); } } } public class Deparent : MonoBehaviour { public GameObject obj; private void Start() { obj.transform.SetParent((Transform)null); } private void OnDestroy() { Object.Destroy((Object)(object)obj); } } public class DestroyOnDisable : MonoBehaviour { private void OnDisable() { Object.Destroy((Object)(object)((Component)this).gameObject); } } public class DisableAfter : MonoBehaviour { public float count = 2f; private void Start() { } private void Update() { count -= Time.deltaTime; if (count < 0f) { ((Component)this).gameObject.SetActive(false); ((Behaviour)this).enabled = false; } } } public class FollowSomething : MonoBehaviour { public string ObjToFollow; public GameObject Obj; private void Start() { } private void Update() { //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_0072: Unknown result type (might be due to invalid IL or missing references) if ((Object)(object)Obj == (Object)null) { Obj = GameObject.Find(ObjToFollow); } else if ((Object)(object)Obj != (Object)null) { ((Component)this).gameObject.transform.position = Obj.transform.position; ((Component)this).gameObject.transform.eulerAngles = Obj.transform.eulerAngles; } } } public class ForeceSpaen : MonoBehaviour { public float timer = 1f; private void Start() { } private void Update() { //IL_002d: Unknown result type (might be due to invalid IL or missing references) timer -= Time.deltaTime; ((Component)this).gameObject.transform.localPosition = new Vector3(0f, 0f, 0f); if (timer < 0f) { ((Behaviour)this).enabled = false; } } } } public class ActivateOnScreenControls : MonoBehaviour { private void OnAwake() { ((Component)this).gameObject.SetActive(false); } } namespace SlugLib { public static class CameraUtils { public static Vector2 CamWorldSize; public static Transform CamTransform; private static Rect bounds; public static bool dirty = true; public static float GetRightEdgeWorldPosition() { //IL_0017: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) if (dirty) { Init(); } return CamTransform.position.x + CamWorldSize.x / 2f; } public static void DrawCameraEdgesAt(Vector3 center) { //IL_009a: Unknown result type (might be due to invalid IL or missing references) //IL_009c: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00a8: Unknown result type (might be due to invalid IL or missing references) //IL_00b2: 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_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00d1: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) //IL_00d8: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_00eb: Unknown result type (might be due to invalid IL or missing references) //IL_00f0: Unknown result type (might be due to invalid IL or missing references) if (dirty) { Init(); } float num = center.x - CamWorldSize.x / 2f; float num2 = center.x + CamWorldSize.x / 2f; float num3 = center.y - CamWorldSize.y / 2f; float num4 = center.y + CamWorldSize.y / 2f; Vector2 val = default(Vector2); ((Vector2)(ref val))..ctor(num, num4); Vector2 val2 = default(Vector2); ((Vector2)(ref val2))..ctor(num2, num4); Vector2 val3 = default(Vector2); ((Vector2)(ref val3))..ctor(num, num3); Vector2 val4 = default(Vector2); ((Vector2)(ref val4))..ctor(num2, num3); Debug.DrawLine(Vector2.op_Implicit(val), Vector2.op_Implicit(val2), Color.blue); Debug.DrawLine(Vector2.op_Implicit(val2), Vector2.op_Implicit(val4), Color.blue); Debug.DrawLine(Vector2.op_Implicit(val4), Vector2.op_Implicit(val3), Color.blue); Debug.DrawLine(Vector2.op_Implicit(val3), Vector2.op_Implicit(val), Color.blue); } public static void EnableFollow(bool enabled) { FollowTarget component = ((Component)Camera.main).GetComponent<FollowTarget>(); if ((Object)(object)component != (Object)null) { component.followActive = enabled; } } private static void Init() { Camera main = Camera.main; CamWorldSize.y = main.orthographicSize * 2f; CamWorldSize.x = CamWorldSize.y * main.aspect; CamTransform = ((Component)main).transform; } } } public class LevelData : MonoBehaviour { [SerializeField] private Transform startLocation; [SerializeField] private Transform[] cameraWayPoints; [SerializeField] private BgParallax[] parallaxBgs; public Transform StartLocation => startLocation; public Transform[] CameraWayPoints => cameraWayPoints; public BgParallax[] ParallaxBgs => parallaxBgs; } public class MissionStartLettersAnimation : MonoBehaviour { [SerializeField] private GameObject topLine; [SerializeField] private GameObject bottomLineStart; [SerializeField] private GameObject bottomLineComplete; private GameObject bottomLine; private Vector2 canvasSize; private int topLineLettersCount; private List<Image> letters = new List<Image>(); private void Awake() { //IL_0007: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) Rect rect = ((Component)this).GetComponent<RectTransform>().rect; canvasSize = new Vector2(((Rect)(ref rect)).width, ((Rect)(ref rect)).height); topLine.SetActive(false); bottomLineComplete.SetActive(false); bottomLineStart.SetActive(false); } private void Update() { if (Input.GetKeyDown("a")) { StartAnim(); } } public void SetComplete() { bottomLine = bottomLineComplete; letters.Clear(); } public void SetStart() { bottomLine = bottomLineStart; letters.Clear(); } public void StartAnim() { bottomLine.SetActive(true); topLine.SetActive(true); ((MonoBehaviour)this).StartCoroutine(AnimCoroutine()); } private IEnumerator AnimCoroutine() { PositionLetters(); HideAllLetters(); RevealAllLetters(); yield return (object)new WaitForSeconds(1.2f); yield return BlinkStart(); DisperseLetters(); } private void PositionLetters() { ((Behaviour)topLine.GetComponent<HorizontalLayoutGroup>()).enabled = true; LayoutRebuilder.ForceRebuildLayoutImmediate(topLine.GetComponent<RectTransform>()); ((Behaviour)topLine.GetComponent<HorizontalLayoutGroup>()).enabled = false; ((Behaviour)bottomLine.GetComponent<HorizontalLayoutGroup>()).enabled = true; LayoutRebuilder.ForceRebuildLayoutImmediate(bottomLine.GetComponent<RectTransform>()); ((Behaviour)bottomLine.GetComponent<HorizontalLayoutGroup>()).enabled = false; } private void HideAllLetters() { for (int i = 0; i < Letters().Count; i++) { ((Behaviour)Letters()[i]).enabled = false; } } private void RevealAllLetters() { for (int i = 0; i < Letters().Count; i++) { AnimLetter(((Component)Letters()[i]).GetComponent<RectTransform>(), i); } } private void AnimLetter(RectTransform letter, int index) { //IL_0029: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Unknown result type (might be due to invalid IL or missing references) //IL_0079: Unknown result type (might be due to invalid IL or missing references) //IL_0083: Expected O, but got Unknown //IL_00ad: Unknown result type (might be due to invalid IL or missing references) float num = 2f / 15f; float num2 = (float)index * 2f / 25f; float num3 = letter.sizeDelta.y * (float)index; Vector3 val = default(Vector3); ((Vector3)(ref val))..ctor(0f - num3, letter.sizeDelta.y, 0f); TweenSettingsExtensions.From<Tweener>(TweenSettingsExtensions.OnStart<Tweener>(TweenSettingsExtensions.SetDelay<Tweener>(ShortcutExtensions.DOMove((Transform)(object)letter, val, num, false), num2), (TweenCallback)delegate { ((Behaviour)((Component)letter).GetComponent<Image>()).enabled = true; }), true); float num4 = 4f / 15f; Vector3 val2 = default(Vector3); ((Vector3)(ref val2))..ctor(0f, 180f, 0f); TweenSettingsExtensions.From<Tweener>(TweenSettingsExtensions.SetEase<Tweener>(TweenSettingsExtensions.SetDelay<Tweener>(ShortcutExtensions.DORotate((Transform)(object)letter, val2, num4, (RotateMode)0), num2), (Ease)1)); } private IEnumerator BlinkStart() { bool visible = true; int blink = 0; for (int blinkCount = 5; blink < blinkCount; blink++) { SetBottomLineVisible(visible); yield return (object)new WaitForSeconds(2f / 15f); visible = !visible; } } private void SetBottomLineVisible(bool visible) { for (int i = topLineLettersCount; i < Letters().Count; i++) { ((Behaviour)Letters()[i]).enabled = visible; } } private void DisperseLetters() { int num = topLineLettersCount; float num2 = (float)Math.PI / (float)(num + 1); for (int i = 0; i < num; i++) { float num3 = (float)(i + 1) * num2 - (float)Math.PI; float num4 = canvasSize.x / 2f * Mathf.Cos(num3); TweenSettingsExtensions.SetEase<Tweener>(TweenSettingsExtensions.SetRelative<Tweener>(ShortcutExtensions.DOLocalMoveX((Transform)(object)((Component)Letters()[i]).GetComponent<RectTransform>(), num4, 0.5f, false), true), (Ease)1); float num5 = (0f - canvasSize.x) / 2f * Mathf.Sin(num3); TweenSettingsExtensions.SetEase<Tweener>(TweenSettingsExtensions.SetRelative<Tweener>(ShortcutExtensions.DOLocalMoveY((Transform)(object)((Component)Letters()[i]).GetComponent<RectTransform>(), num5, 0.5f, false), true), (Ease)1); } for (int j = num; j < Letters().Count; j++) { float num6 = (float)(j - num + 2) * num2 - (float)Math.PI; float num7 = canvasSize.x / 2f * Mathf.Cos(num6); TweenSettingsExtensions.SetEase<Tweener>(TweenSettingsExtensions.SetRelative<Tweener>(ShortcutExtensions.DOLocalMoveX((Transform)(object)((Component)Letters()[j]).GetComponent<RectTransform>(), num7, 0.5f, false), true), (Ease)1); float num8 = canvasSize.x / 2f * Mathf.Sin(num6); TweenSettingsExtensions.SetEase<Tweener>(TweenSettingsExtensions.SetRelative<Tweener>(ShortcutExtensions.DOLocalMoveY((Transform)(object)((Component)Letters()[j]).GetComponent<RectTransform>(), num8, 0.5f, false), true), (Ease)1); } } private List<Image> Letters() { if (letters == null || letters.Count == 0) { Image[] componentsInChildren = topLine.GetComponentsInChildren<Image>(); Image[] componentsInChildren2 = bottomLine.GetComponentsInChildren<Image>(); topLineLettersCount = componentsInChildren.Length; letters.AddRange(componentsInChildren); letters.AddRange(componentsInChildren2); } return letters; } } [ExecuteInEditMode] [RequireComponent(typeof(Canvas))] public class CanvasScreenSpaceScaler : MonoBehaviour { private Canvas _canvas; private PixelPerfectCamera _pixelPerfectCamera; private void Initialize() { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Invalid comparison between Unknown and I4 //IL_002a: Unknown result type (might be due to invalid IL or missing references) _canvas = ((Component)this).GetComponent<Canvas>(); if ((int)_canvas.renderMode != 1) { Debug.Log((object)string.Concat("Render mode: ", _canvas.renderMode, " is not supported by CanvasScreenSpaceScaler")); return; } Camera worldCamera = ((Component)this).GetComponent<Canvas>().worldCamera; _pixelPerfectCamera = ((Component)worldCamera).GetComponent<PixelPerfectCamera>(); if ((Object)(object)_pixelPerfectCamera == (Object)null) { Debug.Log((object)"You have to use the PixelPerfectCamera script on the canvas' render camera!"); } else { AdjustCanvas(); } } private void OnEnable() { Initialize(); } private void OnValidate() { Initialize(); } private void Update() { //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Invalid comparison between Unknown and I4 if (!((Object)(object)_pixelPerfectCamera == (Object)null) && (int)_canvas.renderMode == 1 && _canvas.scaleFactor != _pixelPerfectCamera.ratio) { AdjustCanvas(); } } private void AdjustCanvas() { _canvas.scaleFactor = _pixelPerfectCamera.ratio; } } [ExecuteInEditMode] [RequireComponent(typeof(Canvas))] public class CanvasWorldScaler : MonoBehaviour { [Tooltip("A camera that uses the PixelPerfectCamera script")] [SerializeField] private Camera uiCamera; private PixelPerfectCamera _pixelPerfectCamera; private Vector2 _cameraSize; private float _assetsPixelsPerUnit; private Canvas _canvas; private void Initialize() { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Invalid comparison between Unknown and I4 //IL_002a: Unknown result type (might be due to invalid IL or missing references) _canvas = ((Component)this).GetComponent<Canvas>(); if ((int)_canvas.renderMode != 2) { Debug.Log((object)string.Concat("Render mode: ", _canvas.renderMode, " is not supported by CanvasWorldScaler")); return; } if ((Object)(object)uiCamera == (Object)null) { Debug.Log((object)"You have to assign a UI camera first!"); return; } _pixelPerfectCamera = ((Component)uiCamera).GetComponent<PixelPerfectCamera>(); if ((Object)(object)_pixelPerfectCamera == (Object)null) { Debug.Log((object)"You have to use the PixelPerfectCamera script on the assigned UI camera first!"); } else { AdjustCanvas(); } } private void OnEnable() { Initialize(); } private void OnAwake() { Initialize(); } private void Update() { //IL_0018: Unknown result type (might be due to invalid IL or missing references) //IL_001e: Invalid comparison between Unknown and I4 //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Unknown result type (might be due to invalid IL or missing references) if (!((Object)(object)_pixelPerfectCamera == (Object)null) && (int)_canvas.renderMode == 2 && (_assetsPixelsPerUnit != _pixelPerfectCamera.assetsPixelsPerUnit || _cameraSize != _pixelPerfectCamera.cameraSize)) { AdjustCanvas(); } } private void AdjustCanvas() { //IL_0008: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_004b: 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_007d: Unknown result type (might be due to invalid IL or missing references) _cameraSize = _pixelPerfectCamera.cameraSize; _assetsPixelsPerUnit = _pixelPerfectCamera.assetsPixelsPerUnit; ((Component)this).GetComponent<RectTransform>().sizeDelta = 2f * _assetsPixelsPerUnit * _cameraSize; Vector3 localScale = ((Transform)((Component)this).GetComponent<RectTransform>()).localScale; localScale.x = 1f / _assetsPixelsPerUnit; localScale.y = 1f / _assetsPixelsPerUnit; ((Transform)((Component)this).GetComponent<RectTransform>()).localScale = localScale; } } public static class VectorSwizzleExtensions { public static Vector2 xx(this Vector2 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.x, v.x); } public static Vector2 yx(this Vector2 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.y, v.x); } public static Vector2 xy(this Vector2 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.x, v.y); } public static Vector2 yy(this Vector2 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.y, v.y); } public static Vector3 xxx(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.x, v.x); } public static Vector3 yxx(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.x, v.x); } public static Vector3 xyx(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.y, v.x); } public static Vector3 yyx(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.y, v.x); } public static Vector3 xxy(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.x, v.y); } public static Vector3 yxy(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.x, v.y); } public static Vector3 xyy(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.y, v.y); } public static Vector3 yyy(this Vector2 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.y, v.y); } public static Vector4 xxxx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.x, v.x); } public static Vector4 yxxx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.x, v.x); } public static Vector4 xyxx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.x, v.x); } public static Vector4 yyxx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.x, v.x); } public static Vector4 xxyx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.y, v.x); } public static Vector4 yxyx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.y, v.x); } public static Vector4 xyyx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.y, v.x); } public static Vector4 yyyx(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.y, v.x); } public static Vector4 xxxy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.x, v.y); } public static Vector4 yxxy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.x, v.y); } public static Vector4 xyxy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.x, v.y); } public static Vector4 yyxy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.x, v.y); } public static Vector4 xxyy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.y, v.y); } public static Vector4 yxyy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.y, v.y); } public static Vector4 xyyy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.y, v.y); } public static Vector4 yyyy(this Vector2 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.y, v.y); } public static Vector2 xx(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.x, v.x); } public static Vector2 yx(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.y, v.x); } public static Vector2 zx(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.z, v.x); } public static Vector2 xy(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.x, v.y); } public static Vector2 yy(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.y, v.y); } public static Vector2 zy(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.z, v.y); } public static Vector2 xz(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.x, v.z); } public static Vector2 yz(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.y, v.z); } public static Vector2 zz(this Vector3 v) { //IL_000f: Unknown result type (might be due to invalid IL or missing references) //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) return new Vector2(v.z, v.z); } public static Vector3 xxx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.x, v.x); } public static Vector3 yxx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.x, v.x); } public static Vector3 zxx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.x, v.x); } public static Vector3 xyx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.y, v.x); } public static Vector3 yyx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.y, v.x); } public static Vector3 zyx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.y, v.x); } public static Vector3 xzx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.z, v.x); } public static Vector3 yzx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.z, v.x); } public static Vector3 zzx(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.z, v.x); } public static Vector3 xxy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.x, v.y); } public static Vector3 yxy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.x, v.y); } public static Vector3 zxy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.x, v.y); } public static Vector3 xyy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.y, v.y); } public static Vector3 yyy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.y, v.y); } public static Vector3 zyy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.y, v.y); } public static Vector3 xzy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.z, v.y); } public static Vector3 yzy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.z, v.y); } public static Vector3 zzy(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.z, v.y); } public static Vector3 xxz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.x, v.z); } public static Vector3 yxz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.x, v.z); } public static Vector3 zxz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.x, v.z); } public static Vector3 xyz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.y, v.z); } public static Vector3 yyz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.y, v.z); } public static Vector3 zyz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.y, v.z); } public static Vector3 xzz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.x, v.z, v.z); } public static Vector3 yzz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.y, v.z, v.z); } public static Vector3 zzz(this Vector3 v) { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) return new Vector3(v.z, v.z, v.z); } public static Vector4 xxxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.x, v.x); } public static Vector4 yxxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.x, v.x); } public static Vector4 zxxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.x, v.x); } public static Vector4 xyxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.x, v.x); } public static Vector4 yyxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.x, v.x); } public static Vector4 zyxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.x, v.x); } public static Vector4 xzxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.x, v.x); } public static Vector4 yzxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.x, v.x); } public static Vector4 zzxx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.x, v.x); } public static Vector4 xxyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.y, v.x); } public static Vector4 yxyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.y, v.x); } public static Vector4 zxyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.y, v.x); } public static Vector4 xyyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.y, v.x); } public static Vector4 yyyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.y, v.x); } public static Vector4 zyyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.y, v.x); } public static Vector4 xzyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.y, v.x); } public static Vector4 yzyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.y, v.x); } public static Vector4 zzyx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.y, v.x); } public static Vector4 xxzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.z, v.x); } public static Vector4 yxzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.z, v.x); } public static Vector4 zxzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.z, v.x); } public static Vector4 xyzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.z, v.x); } public static Vector4 yyzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.z, v.x); } public static Vector4 zyzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.z, v.x); } public static Vector4 xzzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.z, v.x); } public static Vector4 yzzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.z, v.x); } public static Vector4 zzzx(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.z, v.x); } public static Vector4 xxxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.x, v.y); } public static Vector4 yxxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.x, v.y); } public static Vector4 zxxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.x, v.y); } public static Vector4 xyxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.x, v.y); } public static Vector4 yyxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.x, v.y); } public static Vector4 zyxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.x, v.y); } public static Vector4 xzxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.x, v.y); } public static Vector4 yzxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.x, v.y); } public static Vector4 zzxy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.x, v.y); } public static Vector4 xxyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.y, v.y); } public static Vector4 yxyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.y, v.y); } public static Vector4 zxyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.y, v.y); } public static Vector4 xyyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.y, v.y); } public static Vector4 yyyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.y, v.y); } public static Vector4 zyyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.y, v.y); } public static Vector4 xzyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.y, v.y); } public static Vector4 yzyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.y, v.y); } public static Vector4 zzyy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.y, v.y); } public static Vector4 xxzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.z, v.y); } public static Vector4 yxzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.z, v.y); } public static Vector4 zxzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.z, v.y); } public static Vector4 xyzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.z, v.y); } public static Vector4 yyzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.z, v.y); } public static Vector4 zyzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.z, v.y); } public static Vector4 xzzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.z, v.y); } public static Vector4 yzzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.z, v.y); } public static Vector4 zzzy(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.z, v.y); } public static Vector4 xxxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.x, v.z); } public static Vector4 yxxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.x, v.z); } public static Vector4 zxxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.x, v.z); } public static Vector4 xyxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.x, v.z); } public static Vector4 yyxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.x, v.z); } public static Vector4 zyxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.x, v.z); } public static Vector4 xzxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.x, v.z); } public static Vector4 yzxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.x, v.z); } public static Vector4 zzxz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.x, v.z); } public static Vector4 xxyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.y, v.z); } public static Vector4 yxyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.y, v.z); } public static Vector4 zxyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.y, v.z); } public static Vector4 xyyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.y, v.z); } public static Vector4 yyyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.y, v.z); } public static Vector4 zyyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.y, v.y, v.z); } public static Vector4 xzyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.z, v.y, v.z); } public static Vector4 yzyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.z, v.y, v.z); } public static Vector4 zzyz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.z, v.y, v.z); } public static Vector4 xxzz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.x, v.z, v.z); } public static Vector4 yxzz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.x, v.z, v.z); } public static Vector4 zxzz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.z, v.x, v.z, v.z); } public static Vector4 xyzz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.x, v.y, v.z, v.z); } public static Vector4 yyzz(this Vector3 v) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) return new Vector4(v.y, v.y, v.z, v.z); } publ