playMaker

Author Topic: about Call Method.  (Read 33 times)

GuaiWuLieRen

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
about Call Method.
« 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.

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 844
    • View Profile
    • Fat Pug Studio
Re: about Call Method.
« Reply #1 on: December 12, 2018, 12:44:46 AM »
Is the method set to public?