Skip to content

Commit

Permalink
Allowed Tilt Rotate and Readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickk888SAMP committed Oct 22, 2022
1 parent f6dd6ad commit 0867e84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Prefabs/RTSCameraController.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ MonoBehaviour:
m_Bits: 8
cameraTarget: {fileID: 5524602137987408595}
allowRotate: 1
allowTiltRotate: 0
allowTiltRotate: 1
allowZoom: 1
allowDragMove: 1
allowKeysMove: 1
Expand All @@ -1121,8 +1121,8 @@ MonoBehaviour:
targetLockSpeed: 10
cameraTargetGroundHeightCheckSmoothTime: 4
cameraZoomSmoothTime: 7
cameraZoomSlider: {fileID: 5524602137142699062}
cameraZoomMinMax: {x: 8, y: 100}
cameraZoomSlider: {fileID: 5524602137142699062}
mouseDragCanvasGameObject: {fileID: 5524602137590102574}
mouseDragStartPoint: {fileID: 5524602137227135747}
mouseDragEndPoint: {fileID: 5524602137349566288}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The script controlls the Target and the Virtual Camera.
* RTS Style "WASD" Camera Movement
* RTS Style Mouse "Drag" Camera Movement
* RTS Style Screen Sides Camera Movement
* RTS Style Position and GameObject Lock-On-Target
* RTS Style Position and Transform Lock-On-Target
* Automatic Ground detection allowing Camera to move up and down depending on the ground.
* UI Controller (Compas, Zoom Slider, Drag Images, Rotate Image)

Expand Down
4 changes: 0 additions & 4 deletions Scenes/ExampleScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -4032,10 +4032,6 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1835259192517180277, guid: 48b147c9aa2a8394082c7e10a44f6b94, type: 3}
propertyPath: allowTiltRotate
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5524602137660462666, guid: 48b147c9aa2a8394082c7e10a44f6b94, type: 3}
propertyPath: m_AnchorMax.x
value: 0
Expand Down

0 comments on commit 0867e84

Please sign in to comment.