PlayMaker Updates & Downloads > Official Action Updates
HasComponent error checking
(1/1)
jeanfabre:
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
szomaza:
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
jeanfabre:
Hi,
Done.
Bye,
Jean
Navigation
[0] Message Index
Go to full version