ortho camera please

master
Jordan Orelli 5 years ago
parent 0d7635fbfb
commit 14b75f47c0

@ -855,7 +855,7 @@ PrefabInstance:
- target: {fileID: 8206000050309207786, guid: 212bab9eb4dc1d14ea3e5d9be33ab6f7, - target: {fileID: 8206000050309207786, guid: 212bab9eb4dc1d14ea3e5d9be33ab6f7,
type: 3} type: 3}
propertyPath: orthographic propertyPath: orthographic
value: 0 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8206000050309207784, guid: 212bab9eb4dc1d14ea3e5d9be33ab6f7, - target: {fileID: 8206000050309207784, guid: 212bab9eb4dc1d14ea3e5d9be33ab6f7,
type: 3} type: 3}

@ -11,6 +11,7 @@ public class CameraController : MonoBehaviour {
// Update is called once per frame // Update is called once per frame
void Update() { void Update() {
transform.position = new Vector3(player.position.x, player.position.y+1, player.position.z-8); transform.position = new Vector3(player.position.x-4, player.position.y+4, player.position.z-8);
transform.LookAt(player);
} }
} }

Loading…
Cancel
Save