10-06-2019, 09:21 AM
(10-06-2019, 08:32 AM)josemendez Wrote: Hi,Hello.
Well, a marquee tool is inherently a UI tool. I still don't get what you want to achieve.
Anyway, to create a marquee selection tool, project the particle positions to screen space, then compare their screen space positions to the rect coordinates to see which are inside of it. See:
https://docs.unity3d.com/ScriptReference...Point.html
I just want to choose particles using coordinates and script ,without mouse.
How do you select the target(obi cloth) and lead to edit by script?