using UnityAtoms.FSM; using UnityEngine; public class KillPlayer : MonoBehaviour { [SerializeField] private FiniteStateMachineReference _gameStateRef; void Awake() { // _gameStateRef.Machine. } }