Finished first EA Version #1
@@ -15,6 +15,10 @@ public partial class Camera3d : Camera3D
|
|||||||
|
|
||||||
public override void _Process(double delta)
|
public override void _Process(double delta)
|
||||||
{
|
{
|
||||||
|
Control focused = GetViewport().GuiGetFocusOwner();
|
||||||
|
|
||||||
|
if (focused is LineEdit || focused is TextEdit)
|
||||||
|
return;
|
||||||
if (canMove) MoveCamera(delta);
|
if (canMove) MoveCamera(delta);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user