Hi! I have Playmaker and Behavior machine and I want to send a global variable (Game object) to Playmaker. How I can do that please?
Try this
1.use in the top of your code
using HutongGames.PlayMaker;
2.then you access globalvariable like this:
FsmString globalVar = FsmVariables.GlobalVariables.FindFsmString("my_string");
globalVar.Value = "Hello";