Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

How come NetworkBehaviour.isLocalPlayer is false on OnStartClient() ?

$
0
0
Basically, at OnStartClient() I want to detect whether this is the localPlayer or not (I know of the OnStartLocalPlayer function). This always returns false. If I check it in the Update() cycle, it will turn true. How come UNET is not aware whether it's the local player's NetworkBehaviour at OnStartClient()?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>