playMaker

Author Topic: [SOLVED]Please make action - uGui Image Set Raycast Target  (Read 2461 times)

szomaza

  • Sr. Member
  • ****
  • Posts: 253
[SOLVED]Please make action - uGui Image Set Raycast Target
« on: July 07, 2019, 07:13:52 AM »
Hi,

Please make an action that allows to set the Raycast Target bool parameter of an uGui Image component.

br,
szomaza
« Last Edit: July 08, 2019, 01:33:36 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7620
    • jinxtergames
Re: Please make action - uGui Image Set Raycast Target
« Reply #1 on: July 08, 2019, 01:33:17 AM »
Hi.
You can use : Ui Canvas Group Set Properties.
This will also set ignore on children.

I also added the requested action in a attachment below.
Let me know if it works.

I will ask to Alex if this action can be added to the official actions, if not i will add it to the Ecosystem.
« Last Edit: July 08, 2019, 01:48:27 AM by djaydino »

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: [SOLVED]Please make action - uGui Image Set Raycast Target
« Reply #2 on: July 08, 2019, 12:10:06 PM »
Hi djaydino,

Now I am confused.  :)

Are these 2 actions the same in the attached image?
I thought one was for the old Unity UI and the others starting with uGui are for the current one.

How could the action for setting "Blocks Raycasts" on a Canvas Group work for setting the "Raycast Target" on an Image component?

Thanks and sorry for the confusion!
szomaza



szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: [SOLVED]Please make action - uGui Image Set Raycast Target
« Reply #3 on: July 08, 2019, 12:24:47 PM »
The action you attached works perfectly. Thanks.

Please explain this:
The actions grouped under UI are the official actions and the ones under uGui are from where???
Which one should I use if I find the same ation under both?

Sorry,
szomaza

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7620
    • jinxtergames
Re: [SOLVED]Please make action - uGui Image Set Raycast Target
« Reply #4 on: July 08, 2019, 06:17:21 PM »
Hi.
Ugui is (was) from the Ecosystem, but was ported to the official PlayMaker action set.
Both will work, most of the actions are just named differently.