Inventory management focused game written in Godot / C#
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
249 B

11 months ago
public partial class OutlineCamera : Camera3D
{
public override void _Process(double delta)
{
var mainViewport = GetTree().Root.GetViewport();
var mainCamera = mainViewport.GetCamera3D();
GlobalTransform = mainCamera.GlobalTransform;
}
}