Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: OrangeeZ on March 16, 2014, 03:30:22 AM
-
Hi!
I have two methods with following signatures:
public void SetActive(GameObject layer);
public void SetActive(dfPanel layer);
If I try to set up a CallMethod Action that calls SetActive, it would display me an ambiguous matching error.
In attach there's a possible fix for that problem: instead of simply querying for a method with a name, all types of input variables are collected first. After that, we query method with both name and expected argument types.
Hopefully this will help!
-
Cool! Thanks for the revised action! I'll get this into the next update...
-
I've posted an updated Call Method action here:
http://hutonggames.com/playmakerforum/index.php?topic=7526.msg36344
Please test this if you get a chance... thanks!