public SystemDefine.VoidEvent GetStateEvent(BirdDefine.EBirdState state)
        {
            switch (state)
            {
            case BirdDefine.EBirdState.Start:
                return(startEvent);

            case BirdDefine.EBirdState.Playing:
                return(playingEvent);

            case BirdDefine.EBirdState.Fall:
                return(fallEvent);

            default:
                return(null);
            }
        }
        public void SetState(BirdDefine.EBirdState state)
        {
            birdState = state;
            switch (birdState)
            {
            case BirdDefine.EBirdState.Start:
                startEvent?.Invoke();
                break;

            case BirdDefine.EBirdState.Playing:
                playingEvent?.Invoke();
                break;

            case BirdDefine.EBirdState.Fall:
                fallEvent?.Invoke();
                break;
            }
        }