To implement the sleeping guard interaction, first you need a collider to trigger the timeline similar to getting caught by the security camera or guard.
This is the code that will be triggered when the Player touches the imaginary box. It will activate a timeline.
However, in the timeline, we would need to hide the player, disable the timeline in the end and then point the camera to the right direction. We can simply configure this in the Timeline:
Now, with all the smoke and mirrors, I am able to implement this interaction:
Timeline really makes it easy to manage animations, audio, cameras and game objects. It’s really up to you to tell the story and be creative in using this tool.