Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Return a Exist GameObject

$
0
0
Hi! I have a DLL to save and load a GameObject, I use a script in Unity to get this GameObject. In the DLL I do; gameObject go; public GameObject Load () { ... return go; } And in Unity I have GameObject Player; Player = GameObject.FindGameObjectWithTag("Player"); public void LoadXML() { Jugador = usedll.Load(); } How can I make sure that a new gameObject is not created and that when using the Load function make the Player be edited?

Viewing all articles
Browse latest Browse all 706

Trending Articles



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