Skip to content

Commit

Permalink
The layers of CameraCube and CameraQuad have been replaced due to an …
Browse files Browse the repository at this point in the history
…accident.
  • Loading branch information
Snow1226 committed Apr 28, 2020
1 parent d26fec6 commit 351748a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions CameraPlus/CameraPlusBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ protected IEnumerator DelayedInit()
gameObj.transform.localScale = Vector3.one;

_cameraCubeGO = GameObject.CreatePrimitive(PrimitiveType.Cube);
_cameraCubeGO.layer = OnlyInFirstPerson;
DontDestroyOnLoad(_cameraCubeGO);
_cameraCubeGO.SetActive(ThirdPerson);
_cameraCube = _cameraCubeGO.transform;
Expand All @@ -183,7 +182,6 @@ protected IEnumerator DelayedInit()
_quad.transform.localEulerAngles = new Vector3(0, 180, 0);
_quad.transform.localScale = new Vector3(_cam.aspect, 1, 1);
_cameraPreviewQuad = _quad;
_quad.layer = OnlyInFirstPerson;

ReadConfig();

Expand Down
4 changes: 2 additions & 2 deletions CameraPlus/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.1.1")]
[assembly: AssemblyFileVersion("4.1.1")]
[assembly: AssemblyVersion("4.1.2")]
[assembly: AssemblyFileVersion("4.1.2")]
2 changes: 1 addition & 1 deletion CameraPlus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"gameVersion": "1.9.0",
"id": "CameraPlus",
"name": "CameraPlus",
"version": "4.1.1",
"version": "4.1.2",
"features": [],
"dependsOn": {
}
Expand Down

0 comments on commit 351748a

Please sign in to comment.