Playmaker Forum

PlayMaker Updates & Downloads => Official Action Updates => Topic started by: jeanfabre on July 29, 2013, 03:17:28 AM

Title: HasComponent error checking
Post by: jeanfabre on July 29, 2013, 03:17:28 AM
Hi,

 Following a post, I realized that hasComponent action can fire errors if you pass a null reference for the gameObject, so if you are having this issue, simply use the version attached: it will fire the false event if no gameobject is passed.

[Update] also set "Store" property accordingly. Action will be updated officially in the next PlayMaker update.

bye,

 Jean
Title: Re: HasComponent error checking
Post by: szomaza on July 17, 2016, 08:28:25 AM
Also it does not do anything with:
public FsmBool store;

So it does not store the result of the check into a bool variable.

I am on Playmaker: 1.7.8.3p2

Please fix if this has not been corrected in newer version.
Br,
szomaza
Title: Re: HasComponent error checking
Post by: jeanfabre on July 21, 2016, 09:02:57 AM
Hi,

 Done.

 Bye,

 Jean