This commit is contained in:
NotAKidoS 2023-04-11 14:50:11 -05:00
parent 51df8434b2
commit 9dc1e00a6c
4 changed files with 17 additions and 7 deletions

View file

@ -21,6 +21,9 @@
<Reference Include="Assembly-CSharp">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR\ChilloutVR_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\ChilloutVR\ChilloutVR_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="BTKUILib">
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\ChilloutVR\Mods\BTKUILib.dll</HintPath>
</Reference>
@ -45,6 +48,9 @@
<Reference Include="UnityEngine.CoreModule">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR\ChilloutVR_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ImageConversionModule">
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\ChilloutVR\ChilloutVR_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.InputLegacyModule">
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR\ChilloutVR_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
</Reference>

View file

@ -25,6 +25,6 @@ using System.Reflection;
namespace NAK.Melons.PortableCameraAdditions.Properties;
internal static class AssemblyInfoParams
{
public const string Version = "1.0.0";
public const string Version = "1.0.1";
public const string Author = "NotAKidoS";
}

View file

@ -11,8 +11,8 @@ public class AdditionalSettings
public bool orthographicMode;
//Should I move these to MelonPrefs?
public bool CopyWorldNearClip;
public bool CopyWorldFarClip;
public bool CopyWorldNearClip = true;
public bool CopyWorldFarClip = true;
private PortableCameraSetting setting_NearClip;
private PortableCameraSetting setting_FarClip;
@ -125,11 +125,15 @@ public class AdditionalSettings
if (referenceCamera != null)
{
if (CopyWorldNearClip)
{
setting_NearClip.Set(referenceCamera.nearClipPlane);
}
if (CopyWorldFarClip)
{
setting_FarClip.Set(referenceCamera.farClipPlane);
}
}
}
public void OnUpdateOptionsDisplay(bool expertMode = true)
{

View file

@ -1,7 +1,7 @@
{
"_id": -1,
"_id": 123,
"name": "PortableCameraAdditions",
"modversion": "1.0.0",
"modversion": "1.0.1",
"gameversion": "2022r170",
"loaderversion": "0.5.7",
"modtype": "Mod",
@ -18,8 +18,8 @@
"requirements": [
"None"
],
"downloadlink": "https://github.com/NotAKidOnSteam/PortableCameraAdditions/releases/download/v1.0.0/PortableCameraAdditions.dll",
"downloadlink": "https://github.com/NotAKidOnSteam/PortableCameraAdditions/releases/download/v1.0.1/PortableCameraAdditions.dll",
"sourcelink": "https://github.com/NotAKidOnSteam/PortableCameraAdditions/",
"changelog": "Initial Release",
"changelog": "Imagine not actually setting stuff on world load.",
"embedcolor": "9b59b6"
}