Open scriptsengineer opened 1 year ago
Hello, I would like to ask if the drag and drop function has not been implemented yet. I have created the equipment grid according to the documentation. It’s so cool! ! I just need to adjust the position. If I want to add grids, I can add them to the node at any time. However, I searched for the documentation and did not see any tutorials on the functions of dragging and exchanging items. Is this function not implemented yet? I am going to do it first. Try to get the picture of the current grid and use mouse events to customize an item exchange function first. I can directly use the function of your customized node, which is also very convenient for my development. Thank you! !
There are two functions for dragging, to_transaction, transaction_to in inventory_handler.gd they basically understand that something that is dragging is something that is in the current "transaction".
As soon as I close 1.0 I intend to make complete documentation
It turned out to be in inventory_handler, thank you
Looking forward to your documentation :)
Hello, I would like to ask if the drag and drop function has not been implemented yet. I have created the equipment grid according to the documentation. It’s so cool! ! I just need to adjust the position. If I want to add grids, I can add them to the node at any time. However, I searched for the documentation and did not see any tutorials on the functions of dragging and exchanging items. Is this function not implemented yet? I am going to do it first. Try to get the picture of the current grid and use mouse events to customize an item exchange function first. I can directly use the function of your customized node, which is also very convenient for my development. Thank you! !