pruned scripts
This commit is contained in:
10
Assets/Scripts/CommonScripts/UI.cs
Normal file
10
Assets/Scripts/CommonScripts/UI.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class UI : Node2D
|
||||
{
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
GlobalPosition = GetTree().Root.GetNode("Camera").GetNode<Node2D>("Camera2D").GlobalPosition;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user