How to assign Photon Instantiated object's public functions to a gui button events such as OnPointerEnter

I am doing all my movement stuff using ui buttons but i came up with a problem that, after Photon Instantiating the player the prefab and its button assigned functions looses connections with the button in the scene.

What I am trying to say is;

http://ististudio.com/ssforphoton/issue1.png

this is the button and its connections with player’s prefab functions but the issue is even if the players gets instantiated by photon button’s connections are staying with the prefab. Its not getting connected to the instantiated prefab which is in the scene.

It is defeating to find the thread you were looking for, only to find that it has never been replied to… in 6 years… Not one person… I got you EMRE805! Imma figure this out and respond.