PlayMaker Feedback > Feature Requests

uInt variables

(1/1)

Marc Saubion:
Hi.

I recently had to work with a script using a uInt type variable. I set the uInt as public, could change it's value in the inspector like a regular Int but the get/set property actions won't work with it: uInt variables aren't visible.

I managed to work around the issue by adding whatever I needed in the script instead of my FSM but it was through dumb luck since there is little documentation about uInt.

According to my research, Unity allowed exposing uInt in the inspector recently. They may have forgot a step so they can be used by Playmaker.

This is a rare issue but it need to be fixed because of the lack of alternative solutions.

Thanks

jeanfabre:
Hi,

 Unfortunatly, PlayMaker doesn't support uInt as an fsm Variable.

the solution is to either modify your script if it's yours to expose an api to work with that uInt using a regular int, or to create a custom action to control this script uint property via a setter and getter action that accepts an FsmInt.

 I can provide your with a sample showing how to do this, then you modify it to match your script.

 Bye,

 Jean

Fat Pug Studio:
Any changes on this or it's still unsupported?

Navigation

[0] Message Index

Go to full version