yukieiji / UnityExplorer

An in-game UI for exploring, debugging and modifying IL2CPP and Mono Unity games.
GNU General Public License v3.0
233 stars 16 forks source link

[Enhancement]: Clipboard List #27

Open freddyguythe10th opened 2 weeks ago

freddyguythe10th commented 2 weeks ago

Describe the new feature or enhancement

I think it would be really convenient if the clipboard was more like an List than just a single object. This would allow the in-game console more flexibility during runtime. For example, instead of doing GameObject thisBarrel = (GameObject)Paste(); we could do something more like GameObject thisBarrel = (GameObject)Paste[0]; To copy an object into a specific spot, maybe you could have the clipboard app allow you to add new items, or remove items, and then select an item to assign before you click the 'Copy Gameobject' button in the Inspector.

yukieiji commented 2 weeks ago

I think the problem with this suggestion is how to select the objects that are being copied, do you have any suggestions for it?

freddyguythe10th commented 2 weeks ago

I actually started working on a branch with this feature. I can merge it in 30 minutes or less. It's not the most refined thing in the world, but it should work. All I have to do is a final test to make sure everything is working.

freddyguythe10th commented 2 weeks ago

https://github.com/yukieiji/UnityExplorer/pull/28 is the pull request.

yukieiji commented 2 weeks ago

Uploaded a branch that implements the basic logic but not the UI. (https://github.com/yukieiji/UnityExplorer/tree/feat-clipboard)