Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Marquee tool
#3
(10-06-2019, 08:32 AM)josemendez Wrote: Hi,


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
Hello.

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?
Reply


Messages In This Thread
Marquee tool - by Richard - 09-06-2019, 05:06 PM
RE: Marquee tool - by josemendez - 10-06-2019, 08:32 AM
RE: Marquee tool - by Richard - 10-06-2019, 09:21 AM
RE: Marquee tool - by josemendez - 10-06-2019, 02:19 PM
RE: Marquee tool - by Richard - 10-06-2019, 02:37 PM
RE: Marquee tool - by josemendez - 10-06-2019, 03:44 PM
RE: Marquee tool - by Richard - 10-06-2019, 04:14 PM
RE: Marquee tool - by josemendez - 10-06-2019, 07:21 PM
RE: Marquee tool - by Richard - 11-06-2019, 08:38 AM
RE: Marquee tool - by josemendez - 11-06-2019, 09:04 AM
RE: Marquee tool - by Richard - 11-06-2019, 09:14 AM
RE: Marquee tool - by josemendez - 11-06-2019, 11:06 AM
RE: Marquee tool - by Richard - 11-06-2019, 11:38 AM
RE: Marquee tool - by josemendez - 11-06-2019, 12:02 PM
RE: Marquee tool - by Richard - 11-06-2019, 04:21 PM
RE: Marquee tool - by josemendez - 12-06-2019, 07:13 AM
RE: Marquee tool - by Richard - 12-06-2019, 11:10 AM
RE: Marquee tool - by josemendez - 12-06-2019, 12:23 PM
RE: Marquee tool - by Richard - 12-06-2019, 12:49 PM