Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Problem with using TagObject

$
0
0

Hello, im using TagObject to define my gameObject, the problem is that photon cloud returns normal object not the gameobject and im trying to convert it to gameobject like this way (GameObject)photonPlayer.TagObject; im getting this error InvalidCastException: Cannot cast from source type to destination type.


Viewing all articles
Browse latest Browse all 8947

Trending Articles



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