Error when using sequencer
Posted: Sun Apr 28, 2024 7:29 am
I have the following method in the gameobject named VillageEventManager
and when run a dialogue with following sequencer command:
Then I got this error:
I cannot figure out where is the problem. Did I use sequencer incorrectly?
Code: Select all
public void ActivateYuushaInform(bool activate){
//doing stuff
}
and when run a dialogue with following sequencer command:
Code: Select all
SendMessage(ActivateYuushaInform,true,VillageEventManager);
Code: Select all
MissingMethodException: Method 'VillageEventManager.ActivateYuushaInform' not found.
System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) (at <4a4789deb75f446a81a24a1a00bdd3f9>:0)
UnityEngine.SetupCoroutine.InvokeMember (System.Object behaviour, System.String name, System.Object variable) (at <f712b1dc50b4468388b9c5f95d0d0eaf>:0)