player not following slide object unity 2d

Code Example - player not following slide object unity 2d

                
                        Make Player as a child of collided object. Watch this video : https://www.youtube.com/watch?v=O6wlIqe2lTA&ab_channel=JasonWeimann