Skip to content
This repository has been archived by the owner on Sep 30, 2019. It is now read-only.

Commit

Permalink
Added solution. Changed default rotation smooth.
Browse files Browse the repository at this point in the history
  • Loading branch information
xyonico committed May 19, 2018
1 parent 321e08c commit 3e2734d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CameraPlus/CameraPlus.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CameraPlus", "CameraPlus.csproj", "{EB29D3F0-3BC0-4459-9269-C9DA0F3FCD1A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EB29D3F0-3BC0-4459-9269-C9DA0F3FCD1A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EB29D3F0-3BC0-4459-9269-C9DA0F3FCD1A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EB29D3F0-3BC0-4459-9269-C9DA0F3FCD1A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EB29D3F0-3BC0-4459-9269-C9DA0F3FCD1A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion CameraPlus/CameraPlusBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void ReadIni()
{
_fov = Convert.ToSingle(Plugin.Ini.GetValue("fov", "", "90"));
_posSmooth = Convert.ToSingle(Plugin.Ini.GetValue("positionSmooth", "", "10"));
_rotSmooth = Convert.ToSingle(Plugin.Ini.GetValue("rotationSmooth", "", "10"));
_rotSmooth = Convert.ToSingle(Plugin.Ini.GetValue("rotationSmooth", "", "5"));
SetFOV();
}

Expand Down
2 changes: 1 addition & 1 deletion CameraPlus/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void OnApplicationStart()
{
Ini.WriteValue("fov", "90.0");
Ini.WriteValue("positionSmooth", "10.0");
Ini.WriteValue("rotationSmooth", "10.0");
Ini.WriteValue("rotationSmooth", "5.0");
Ini.Save();
}

Expand Down

0 comments on commit 3e2734d

Please sign in to comment.