- Home /
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.
Answer by That1phillps · Feb 02, 2021 at 03:32 AM
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.
I have the same problem bro... no answered to be found anywhere , this guy even posted on the Photon Forum and received an worthless trash answer that didn't solved his issue ...
Your answer
Follow this Question
Related Questions
How do I Photon Instantiate a scene object randomly from a list of objects? 0 Answers
Using lerp to smooth network movement causes rubber banding 1 Answer
How to network a large map with 4000+ movable objects using Photon Unity Networking? 1 Answer
This is giving an error for the other client and cannot hit other client. 1 Answer