I'm working on a game that has multiple players on the same screen (same pc multiplayer). I'm having issues with the scroolTo behaviour and the size of the canvas.
The ScrollTo behaviour is attached to all the players and follows them, but they can get off screen. I attempted to resize the canvas dynamically so that all of the players would be on screen in all the situations but it proved to be more of a challenge that I first expected it to be.
What is the best way to calculate and resize the canvas so that all the players are on screen at the same time?