Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: Marc Saubion on May 10, 2018, 10:43:21 AM

Title: uInt variables
Post by: Marc Saubion on May 10, 2018, 10:43:21 AM
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
Title: Re: uInt variables
Post by: jeanfabre on May 14, 2018, 04:28:20 AM
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
Title: Re: uInt variables
Post by: Fat Pug Studio on March 28, 2022, 06:32:00 AM
Any changes on this or it's still unsupported?