From b61f7eeba606770cd1435d99b209650e493c0e0d Mon Sep 17 00:00:00 2001 From: GamerClassN7 Date: Fri, 28 Jan 2022 20:00:56 +0100 Subject: [PATCH] Test --- My project/.vscode/settings.json | 56 ++ My project/Assembly-CSharp.csproj | 693 +++++++++++++++++++++ My project/Assets/PlayerController.cs | 63 ++ My project/Assets/PlayerController.cs.meta | 11 + 4 files changed, 823 insertions(+) create mode 100644 My project/.vscode/settings.json create mode 100644 My project/Assembly-CSharp.csproj create mode 100644 My project/Assets/PlayerController.cs create mode 100644 My project/Assets/PlayerController.cs.meta diff --git a/My project/.vscode/settings.json b/My project/.vscode/settings.json new file mode 100644 index 0000000..1060b04 --- /dev/null +++ b/My project/.vscode/settings.json @@ -0,0 +1,56 @@ +{ + "files.exclude": + { + "**/.DS_Store":true, + "**/.git":true, + "**/.gitignore":true, + "**/.gitmodules":true, + "**/*.booproj":true, + "**/*.pidb":true, + "**/*.suo":true, + "**/*.user":true, + "**/*.userprefs":true, + "**/*.unityproj":true, + "**/*.dll":true, + "**/*.exe":true, + "**/*.pdf":true, + "**/*.mid":true, + "**/*.midi":true, + "**/*.wav":true, + "**/*.gif":true, + "**/*.ico":true, + "**/*.jpg":true, + "**/*.jpeg":true, + "**/*.png":true, + "**/*.psd":true, + "**/*.tga":true, + "**/*.tif":true, + "**/*.tiff":true, + "**/*.3ds":true, + "**/*.3DS":true, + "**/*.fbx":true, + "**/*.FBX":true, + "**/*.lxo":true, + "**/*.LXO":true, + "**/*.ma":true, + "**/*.MA":true, + "**/*.obj":true, + "**/*.OBJ":true, + "**/*.asset":true, + "**/*.cubemap":true, + "**/*.flare":true, + "**/*.mat":true, + "**/*.meta":true, + "**/*.prefab":true, + "**/*.unity":true, + "build/":true, + "Build/":true, + "Library/":true, + "library/":true, + "obj/":true, + "Obj/":true, + "ProjectSettings/":true, + "temp/":true, + "Temp/":true + } +} \ No newline at end of file diff --git a/My project/Assembly-CSharp.csproj b/My project/Assembly-CSharp.csproj new file mode 100644 index 0000000..a2182e6 --- /dev/null +++ b/My project/Assembly-CSharp.csproj @@ -0,0 +1,693 @@ + + + + latest + + + Debug + AnyCPU + 10.0.20506 + 2.0 + + {e6bdc332-25e1-2831-82c1-25d0441455a3} + Library + Properties + Assembly-CSharp + v4.7.1 + 512 + . + + + true + full + false + Temp\bin\Debug\ + DEBUG;TRACE;UNITY_2021_2_7;UNITY_2021_2;UNITY_2021;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;UNITY_2020_1_OR_NEWER;UNITY_2020_2_OR_NEWER;UNITY_2020_3_OR_NEWER;UNITY_2021_1_OR_NEWER;UNITY_2021_2_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;USE_SEARCH_ENGINE_API;USE_SEARCH_TABLE;USE_SEARCH_MODULE;USE_PROPERTY_DATABASE;SCENE_TEMPLATE_MODULE;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_VIRTUALTEXTURING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;ENABLE_MANAGED_UNITYTLS;INCLUDE_DYNAMIC_GI;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_VIDEO;ENABLE_ACCELERATOR_CLIENT_DEBUGGING;PLATFORM_STANDALONE;TEXTCORE_1_0_OR_NEWER;PLATFORM_STANDALONE_WIN;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_NVIDIA;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;NET_STANDARD;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER + prompt + 4 + 0169 + False + + + true + true + false + false + false + + + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.AIModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ARModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.AccessibilityModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.AndroidJNIModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.AnimationModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.AssetBundleModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.AudioModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ClothModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ClusterInputModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ClusterRendererModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.CrashReportingModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.DSPGraphModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.DirectorModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.GIModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.GameCenterModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.GridModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.HotReloadModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.IMGUIModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ImageConversionModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.InputModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.InputLegacyModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.JSONSerializeModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.LocalizationModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ParticleSystemModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.PerformanceReportingModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.PhysicsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.Physics2DModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ProfilerModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.ScreenCaptureModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.SharedInternalsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.SpriteMaskModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.SpriteShapeModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.StreamingModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.SubstanceModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.SubsystemsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.TLSModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.TerrainModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.TerrainPhysicsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.TextCoreFontEngineModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.TextCoreTextEngineModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.TextRenderingModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.TilemapModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UIModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UIElementsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UIElementsNativeModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UNETModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UmbraModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityAnalyticsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityConnectModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityCurlModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityTestProtocolModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityWebRequestModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityWebRequestAssetBundleModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityWebRequestAudioModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityWebRequestTextureModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.UnityWebRequestWWWModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.VFXModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.VRModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.VehiclesModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.VideoModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.VirtualTexturingModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.WindModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEngine.XRModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.CoreModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.DeviceSimulatorModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.DiagnosticsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.GraphViewModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.PackageManagerUIModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.QuickSearchModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.SceneTemplateModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.TextCoreFontEngineModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.TextCoreTextEngineModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.UIBuilderModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.UIElementsModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.UIElementsSamplesModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.UIServiceModule.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\Managed\UnityEngine\UnityEditor.UnityConnectModule.dll + + + D:\git\GGJ2022\My project\Library\PackageCache\com.unity.nuget.newtonsoft-json@2.0.0\Runtime\Newtonsoft.Json.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\ref\2.1.0\netstandard.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\Microsoft.Win32.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.AppContext.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Buffers.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Collections.Concurrent.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Collections.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Collections.NonGeneric.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Collections.Specialized.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.ComponentModel.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.ComponentModel.EventBasedAsync.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.ComponentModel.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.ComponentModel.TypeConverter.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Console.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Data.Common.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.Contracts.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.Debug.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.FileVersionInfo.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.Process.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.StackTrace.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.TextWriterTraceListener.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.Tools.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.TraceSource.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Diagnostics.Tracing.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Drawing.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Dynamic.Runtime.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Globalization.Calendars.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Globalization.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Globalization.Extensions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.Compression.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.Compression.ZipFile.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.FileSystem.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.FileSystem.DriveInfo.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.FileSystem.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.FileSystem.Watcher.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.IsolatedStorage.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.MemoryMappedFiles.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.Pipes.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.IO.UnmanagedMemoryStream.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Linq.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Linq.Expressions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Linq.Parallel.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Linq.Queryable.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Memory.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.Http.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.NameResolution.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.NetworkInformation.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.Ping.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.Requests.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.Security.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.Sockets.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.WebHeaderCollection.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.WebSockets.Client.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Net.WebSockets.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Numerics.Vectors.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.ObjectModel.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Reflection.DispatchProxy.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Reflection.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Reflection.Emit.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Reflection.Emit.ILGeneration.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Reflection.Emit.Lightweight.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Reflection.Extensions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Reflection.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Resources.Reader.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Resources.ResourceManager.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Resources.Writer.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.CompilerServices.VisualC.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.Extensions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.Handles.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.InteropServices.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.InteropServices.RuntimeInformation.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.Numerics.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.Serialization.Formatters.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.Serialization.Json.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.Serialization.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Runtime.Serialization.Xml.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.Claims.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.Cryptography.Algorithms.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.Cryptography.Csp.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.Cryptography.Encoding.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.Cryptography.Primitives.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.Cryptography.X509Certificates.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.Principal.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Security.SecureString.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Text.Encoding.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Text.Encoding.Extensions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Text.RegularExpressions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.Overlapped.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.Tasks.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.Tasks.Extensions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.Tasks.Parallel.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.Thread.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.ThreadPool.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Threading.Timer.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.ValueTuple.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Xml.ReaderWriter.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Xml.XDocument.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Xml.XmlDocument.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Xml.XmlSerializer.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Xml.XPath.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netstandard\System.Xml.XPath.XDocument.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\Extensions\2.0.0\System.Runtime.InteropServices.WindowsRuntime.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\mscorlib.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.ComponentModel.Composition.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Core.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Data.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Drawing.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.IO.Compression.FileSystem.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Net.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Numerics.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Runtime.Serialization.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.ServiceModel.Web.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Transactions.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Web.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Windows.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Xml.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Xml.Linq.dll + + + C:\Program Files\Unity\Hub\Editor\2021.2.7f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.Xml.Serialization.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.VSCode.Editor.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.TextMeshPro.Editor.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.VisualStudio.Editor.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.Timeline.Editor.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.Timeline.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.TextMeshPro.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\UnityEditor.UI.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.PlasticSCM.Editor.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\Unity.Rider.Editor.dll + + + D:\git\GGJ2022\My project\Library\ScriptAssemblies\UnityEngine.UI.dll + + + + + + + diff --git a/My project/Assets/PlayerController.cs b/My project/Assets/PlayerController.cs new file mode 100644 index 0000000..12c7b8b --- /dev/null +++ b/My project/Assets/PlayerController.cs @@ -0,0 +1,63 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class PlayerController : MonoBehaviour +{ + public float walkSpeed = 7.5f; + public float runningSpeed = 7.5f; + public float jumpSpeed = 7.5f; + public float lookSpeed = 7.5f; + public float lookXLimit = 7.5f; + public Camera playerCamera; + Vector3 moveDirection = Vector3.zero; + CharacterController characterController; + public float rotationX = 0; + // Start is called before the first frame update + [HideInInspector] + bool canMove = true; + Rigidbody rb; + + public Vector3 jump; + public float jumpForce = 2.0f; + + void Start() + { + rb = GetComponent(); + characterController = GetComponent(); + Cursor.lockState = CursorLockMode.Locked; + Cursor.visible = false; + jump = new Vector3(0.0f, 2.0f, 0.0f); + } + + // Update is called once per frame + void Update() + { + rotationX += -Input.GetAxis("Mouse Y") * lookSpeed; + rotationX = Mathf.Clamp(rotationX, -lookXLimit, lookXLimit); + playerCamera.transform.localRotation = Quaternion.Euler(rotationX, 0, 0); + transform.rotation *= Quaternion.Euler(0, Input.GetAxis("Mouse X") * lookSpeed, 0); + + Vector3 forward = transform.TransformDirection(Vector3.forward); + Vector3 right = transform.TransformDirection(Vector3.right); + + bool isRunning = Input.GetKey(KeyCode.LeftShift); + float curSpeedX = canMove ? (isRunning ? runningSpeed : walkSpeed) * Input.GetAxis("Vertical") : 0; + float curSpeedY = canMove ? (isRunning ? runningSpeed : walkSpeed) * Input.GetAxis("Horizontal") : 0; + + float moveDirectionY = moveDirection.y; + + if (Input.GetKeyDown(KeyCode.Space)) + { + Debug.Log("Jump"); + moveDirection.y += jumpSpeed; + } + else + { + moveDirection.y = moveDirectionY; + } + + moveDirection = (forward * curSpeedX) + (right * curSpeedY); + characterController.Move(moveDirection * Time.deltaTime); + } +} diff --git a/My project/Assets/PlayerController.cs.meta b/My project/Assets/PlayerController.cs.meta new file mode 100644 index 0000000..4d8b1a3 --- /dev/null +++ b/My project/Assets/PlayerController.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b108dca155b156640a1beb1eeaa1995d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: