PlayMaker News > General Discussion

about Call Method.

(1/1)

GuaiWuLieRen:
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.

Fat Pug Studio:
Is the method set to public?

Navigation

[0] Message Index

Go to full version