nice nice nice
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Godot;
|
||||
using yourareanaiceo;
|
||||
|
||||
public partial class DropZone : Control
|
||||
{
|
||||
@@ -13,8 +14,8 @@ public partial class DropZone : Control
|
||||
var meetingControl = ((MeetingControlDragData)data).MeetingControl;
|
||||
var meetingPhysicsBox = meetingControl.MeetingPhysicsBox;
|
||||
|
||||
var main = (Main)FindParent("Main");
|
||||
main.AddChild(meetingPhysicsBox);
|
||||
var game = this.GetGame();
|
||||
game.AddChild(meetingPhysicsBox);
|
||||
meetingPhysicsBox.Position = GetGlobalMousePosition();
|
||||
meetingControl.QueueFree();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user