Playmaker Forum

Playmaker News => General Discussion => Topic started by: GuaiWuLieRen on December 11, 2018, 02:24:57 AM

Title: about Call Method.
Post by: GuaiWuLieRen on December 11, 2018, 02:24:57 AM
I am trying to call a method in a script.
1. I got the Hero GameObject from the Trigger Enter 2D Event.
2. then I got BaseHero Script Object from the Hero GameObject using Get Component Action.
3. I added a Call Method Action in a new state, and assigned the baseHero Object to this Action, but all the methods of the baseHero don't listed in the Method Name List in the right place.

does the Call Method has some limitation or how can I solve this problem.
thanks.
Title: Re: about Call Method.
Post by: krmko on December 12, 2018, 12:44:46 AM
Is the method set to public?