using HutongGames.PlayMaker; public class MyFSMState : FsmState { public FsmEventSequence myEventSequence; public override void OnEnter() { FsmEvent currentEvent = GetFsmEvent(); if (myEventSequence.Sequence.Contains(currentEvent)) { // Do something } else { // Do something else } } }In this example, an FSM state is defined with a sequence of events that are valid for the state. On entering the state, the GetFsmEvent method is called to retrieve the current event. If the event is contained within the valid sequence, some action is taken, otherwise an alternative action is triggered. Overall, the GetFsmEvent method is a useful feature for developing complex state-based systems that require decision-making based on event data.