Looking to create a UI animation whereby parts of an image/text move onto/off screen

Hello, sorry for the vague wording of my title, wasn’t really sure how better to describe it. I am looking to create an effect similar to the one seen in the “You Died” text in the game over screen of Resident Evil. I have a attached a gif, which should be more illustrative than my title.
GIF
I am not sure how I would go about doing this. My best guess would involve creating a User Interface domain Material out of the image I want to display, and then doing something with the Texture Coordinates, but I haven’t done too much of this sort of thing, so even if this is the right direction, I don’t know where I would go from here. The effect doesn’t have to be 1 to 1 with Resident Evil, but I would like something similar. Does anyone have any idea how I would achieve this?