Browse Source

playtest with Nik

master
Josh 2 years ago
parent
commit
a56feef57a
  1. 2
      unity_project/Assets/BeatEmUp_GameTemplate3D/Resources/GameCamera.prefab
  2. 2
      unity_project/Assets/BeatEmUp_GameTemplate3D/Scripts/Camera/CameraFollow.cs

2
unity_project/Assets/BeatEmUp_GameTemplate3D/Resources/GameCamera.prefab

@ -25,7 +25,7 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 171854} m_GameObject: {fileID: 171854}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0} m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 8.05, y: 1.52, z: 11.59} m_LocalPosition: {x: 8.05, y: 7.29, z: 11.59}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 4914548019038378} - {fileID: 4914548019038378}

2
unity_project/Assets/BeatEmUp_GameTemplate3D/Scripts/Camera/CameraFollow.cs

@ -65,7 +65,7 @@ public class CameraFollow : MonoBehaviour {
currentX = Mathf.Lerp(currentX, MiddlePosition.x, DampX * Time.deltaTime); currentX = Mathf.Lerp(currentX, MiddlePosition.x, DampX * Time.deltaTime);
//DampY //DampY
currentY = Mathf.Lerp(currentY, 3.9f, DampY * Time.deltaTime); currentY = Mathf.Lerp(7.29f, 7.29f, DampY * Time.deltaTime);
//DampZ //DampZ
if (FollowZAxis) { if (FollowZAxis) {

Loading…
Cancel
Save