Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Titoro on February 26, 2020, 05:40:25 AM
-
I want to make a game with one scene.
So I used set property active for hide some ui and objects.
It works fine on PC.
But It doesn't on my android device.
Value of cale and position works on mobile.
So set property action was worked on mobile except value of active.
** Unity ver : 2019.3.2f1 , Play maker ver : 1.9.0.p19
-
Hi Titoro,
I got the same problem, on a build using set properties,
Here is a response from djaydino that helped me to solve the problem
"When using Get/Set Properties you need to use the "linker wizard" and play the whole game to be sure everything is detected.
Also Get/Set Properties uses reflection, which means they are slower than dedicated actions.
but with a small amount it is not noticeable."
-
I found a similar action "Activate Game Object".
It works both of PC and android.
Then is it a solution?
-
I installed and used linker wizard.
So set property -> active was worked on android too.
Thank you!
-
Glad it worked for you,
I think when possible it is best to use a dedicated action : like activate game object, especially if you use it often.
-
Hi.
Yes its always better to use dedicated actions.
As Get/Set properties uses reflection which are slower than dedicated actions.
You can find many custom actions on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)