Skip to content

Commit

Permalink
Bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Domsmasher1 committed Nov 2, 2021
1 parent 886e072 commit 345dd57
Show file tree
Hide file tree
Showing 153 changed files with 321 additions and 1,559 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.4465782, g: 0.49641252, b: 0.5748167, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -1424,7 +1424,6 @@ GameObject:
- component: {fileID: 2110237123}
- component: {fileID: 2110237122}
- component: {fileID: 2110237125}
- component: {fileID: 2110237126}
m_Layer: 5
m_Name: PauseMenu
m_TagString: Untagged
Expand Down Expand Up @@ -1525,18 +1524,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9882b0d187501854c810b9e41647c83e, type: 3}
m_Name:
m_EditorClassIdentifier:
lockCursor: 1
pauseMenuUI: {fileID: 1267862844}
hitMarkerUI: {fileID: 1660231439}
--- !u!114 &2110237126
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2110237120}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f3cf022b25974454088efb392e5f39c5, type: 3}
m_Name:
m_EditorClassIdentifier:
lockCursor: 1
23 changes: 0 additions & 23 deletions Features/Erosion/Implementing/Assets/Scripts/Curserlock.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Features/Erosion/Implementing/Assets/Scripts/Curserlock.cs.meta

This file was deleted.

11 changes: 10 additions & 1 deletion Features/Erosion/Implementing/Assets/Scripts/PauseMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
public class PauseMenu : MonoBehaviour
{
public static bool GameIsPaused = false;
public static bool ChangeMouse = false;
public bool lockCursor = true;

public GameObject pauseMenuUI;
public GameObject hitMarkerUI;
Expand All @@ -17,7 +19,7 @@ void Start()
}
void Update()
{
if (Input.GetKeyDown(KeyCode.Escape))
if (Input.GetKeyDown(KeyCode.Escape))
{
if (GameIsPaused)
{
Expand All @@ -26,7 +28,10 @@ void Update()
{
Pause();
}
lockCursor = !lockCursor;
}
Cursor.lockState = lockCursor ? CursorLockMode.Locked : CursorLockMode.None;
Cursor.visible = !lockCursor;
}
public void Resume ()
{
Expand All @@ -35,6 +40,10 @@ public void Resume ()
GameIsPaused = false;
hitMarkerUI.SetActive(true);

Cursor.lockState = lockCursor ? CursorLockMode.Locked : CursorLockMode.None;
Cursor.visible = !lockCursor;

lockCursor = !lockCursor;
}
void Pause ()
{
Expand Down
Binary file modified Features/Erosion/Implementing/Library/ArtifactDB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions Features/Erosion/Implementing/Library/BuildPlayerData/response.rsp
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\Assembly-CSharp.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\UnityEngine.TestRunner.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\Unity.Timeline.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\Unity.TextMeshPro.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\UnityEngine.UI.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\AOT\Newtonsoft.Json.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\Portable\Newtonsoft.Json.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\Newtonsoft.Json.dll"
-a="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\net35\unity-custom\nunit.framework.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\Assembly-CSharp.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\UnityEngine.TestRunner.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\Unity.Timeline.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\Unity.TextMeshPro.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies\UnityEngine.UI.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\AOT\Newtonsoft.Json.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\Portable\Newtonsoft.Json.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\Newtonsoft.Json.dll"
-a="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\net35\unity-custom\nunit.framework.dll"
-s="C:\Program Files\Unity\Hub\Editor\2020.3.12f1\Editor\Data\Managed\UnityEngine"
-s="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies"
-s="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\AOT"
-s="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\Portable"
-s="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime"
-s="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\net35\unity-custom"
-s="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PlayerScriptAssemblies"
-s="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\AOT"
-s="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime\Portable"
-s="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\Runtime"
-s="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\PackageCache\[email protected]\net35\unity-custom"
-s="C:\Program Files\Unity\Hub\Editor\2020.3.12f1\Editor\Data\Managed\UnityEngine"
-s="C:\Program Files\Unity\Hub\Editor\2020.3.12f1\Editor\Data\NetStandard\ref\2.0.0"
-s="C:\Program Files\Unity\Hub\Editor\2020.3.12f1\Editor\Data\NetStandard\compat\2.0.0\shims\netstandard"
-s="C:\Program Files\Unity\Hub\Editor\2020.3.12f1\Editor\Data\NetStandard\Extensions\2.0.0"
-s="C:\Program Files\Unity\Hub\Editor\2020.3.12f1\Editor\Data\NetStandard\compat\2.0.0\shims\netfx"
-o="C:\Users\Dominic\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\BuildPlayerData\Player"
-o="C:\Users\whi0026\Desktop\Realistic-Terain-Creation\Features\Erosion\Implementing\Library\BuildPlayerData\Player"
-rn="RuntimeInitializeOnLoads.json"
-tn="TypeDb-All.json"
Loading

0 comments on commit 345dd57

Please sign in to comment.