Where when i not applied transform.LookAt(UserPlayerPrefab.transform.position), the result is like this (camera modified by manually in the design view)
What i want is the camera centered on the player whenever it is turn and the camera follows the object whenever he go until the turn ended, and move to the next player.
Note: I using List to create multiple spheres and multiple cylinder. In the design view, i only got 1 sphere and 1 cylinder and 1 box of the terrain.
, the camera is centered and back behind the player (third person camera), but once i applied above code, the result is like the image shown above (Capture.png).
And when i move the player, here is the result (notice the camera movement):