Camera Service
public sealed class CameraService : StateService<CameraState>
This class allows the player to control the game camera — movement, zoom, rotation.
You can directly set custom camera position:
public class ExampleCamera : IUpdateSystem
{
[Inject] CameraService cameraService;
public void Update()
{
if (Input.GetKeyDown(KeyCode.C))
cameraService.SetPosition(new Vector3(32, 0, 32)); // y pos will be ignored, camera handles it by itself
}
}