+8
Completed

copy/paste into code node

QuiteNice 10 years ago updated by behealed 8 years ago 5
At the moment you can't copy & paste code into the code node. would be useful. ctrl+c, ctrl+v

Answer

Answer
Completed
This has now been fixed in 0.37
I'm not sure if unity imposes some limit, but normally from code it should be easy accessing the clipboard.
Answer
Completed
This has now been fixed in 0.37
When will .37 be available?
A week or two, most likely

This works, except for one bug:


If you copy shader forge NODES into the buffer, and then you copy TEXT into the buffer, it doesn't over-ride the NODES you copied earlier.


So then when you go to paste the TEXT into some place, as soon as you hit CTRL+V, it'll paste the text, but it'll also paste the nodes somewhere in your graph. And if the node you copied was copied from some spot way off to the side, sometimes it'll appear out there.. way off to the side. And you may not even know it's out there. Until later you're scrolling around and you run into this mountain of nodes floating somewhere and you're like "what tha?"