transfer between scenes
This commit is contained in:
@@ -50,6 +50,11 @@ public class CameraSystem : MonoBehaviour
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
ResetToPlayerPosition();
|
||||
}
|
||||
|
||||
public void ResetToPlayerPosition()
|
||||
{
|
||||
transform.position = Player.Instance.transform.position;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user