Hi, try this :
using UnityEngine;
using System.Collections;
using HutongGames.PlayMaker;
public class GetBoolSample : MonoBehaviour
{
public bool theBool;
// Use this for initialization
void OnEnter ()
{
}
// Update is called once per frame
void Update ()
{
theBool = FsmVariables.GlobalVariables.GetFsmBool("MyBool").Value;
if(theBool)
{
Debug.Log("bool is true");
}
}
}
MyBool = the Playmaker global bool