playMaker

Author Topic: Custom action request to use instead of Get/Set Property[SOLVED]  (Read 2574 times)

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Custom action request to use instead of Get/Set Property[SOLVED]
« on: February 09, 2019, 07:37:59 AM »
Hi!

I read on some threads that instead of using Get/Set Property it is better to create (or ask for if you can't create) custom actions and use those to access the properties directly, because of better performance / Reflection and the need to use Linker Wizard.

I used Get/Set Property in many different ways but now replaced all where I could find a custom action on the Ecosystem.
Great, thanks for these!

I also searched the forums but I am still missing a few actions preventing me from getting rid of all the Get/Set Properties.

It would be great to have the following actions:
- Test RigidBody2D Simulated,
- U Gui Canvas Group GET Alpha,
- Set Fixed Joint 2D properties,
- Set PolygonCollider2D points parameter.

Please see attached image for more info on how I used these.

Please add these to some list of actions todo and thanks in advance!
szomaza
« Last Edit: May 17, 2019, 01:59:41 AM by jeanfabre »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Custom action request to use instead of Get/Set Property
« Reply #1 on: February 09, 2019, 10:29:06 AM »
Hi, have you checked the ecosystem or google for any of these actions yet?

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: Custom action request to use instead of Get/Set Property
« Reply #2 on: February 09, 2019, 11:11:07 AM »
I searched in the Ecosystem and on the Playmaker forums, but did not find any action to achieve these 4 things.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Custom action request to use instead of Get/Set Property
« Reply #3 on: March 18, 2019, 03:10:20 AM »
Hi,

  I just created UiCanvasGroupGetAlpha on the ecosystem.

 I'll work on the other actions asap.

Bye,

 Jean

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 713
    • Flashing Lights
Re: Custom action request to use instead of Get/Set Property
« Reply #4 on: March 18, 2019, 01:37:06 PM »
UiCanvasGroupGetAlpha on the ecosystem.
This is so great! Very convenient, tried to make it but failed :D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Custom action request to use instead of Get/Set Property
« Reply #5 on: March 20, 2019, 03:25:18 AM »
Hi,

 ok, so we have now on the ecosystem

- GetRigidBody2dIsSimulated ( use bool test to send event after that)
- GetFixedJoint2DProperties
- SetFixedJoint2DProperties
- SetPolygonCollider2DSetPathCount
- SetPolygonCollider2DSetPath

you can't set points directly, you must define paths for PolygonCollider2D, first set the number of path you want ( if your poly has holes, it has more than one path to define the shape), then use the SetPolygonCollider2DSetPath action

Let me know how it goes.

 Bye,

 Jean

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: Custom action request to use instead of Get/Set Property
« Reply #6 on: April 20, 2019, 11:37:21 AM »
Thank you Jean!

Replaced my get/set properties with these and all of them work perfectly so far, also the UiCanvasGroupGetAlpha one.

Br,
szomaza