public override void AfterSwitch(FageStateMachine stateMachine, string beforeId)
    {
        base.AfterSwitch(stateMachine, beforeId);
        FageAudioSourceControl fsm = stateMachine as FageAudioSourceControl;

        fsm.SetAudioStatus(FageAudioStatus.PAUSED);
    }
    public override void AfterSwitch(FageStateMachine stateMachine, string beforeId)
    {
        base.AfterSwitch(stateMachine, beforeId);
        FageAudioSourceControl fsm = stateMachine as FageAudioSourceControl;

        fsm.SetAudioStatus(FageAudioStatus.PLAYING);
        _timeSamples = fsm.audioSource.timeSamples;
    }