mirror of
https://github.com/PashaBibko/The-Mobius-Line.git
synced 2026-04-04 09:59:04 +00:00
Final touches
This commit is contained in:
@@ -49,6 +49,12 @@ public class CameraController : MonoBehaviour
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (PlayerMovement.Instance().IsDead())
|
||||
{
|
||||
transform.position = m_Tracking.position;
|
||||
return;
|
||||
}
|
||||
|
||||
// Gets the mouse input from the user
|
||||
Vector2 mouse = new Vector2
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user