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

Spawn w/ AddComponent

$
0
0
Hello,

I have a prefab, registered and does spawn correctly after it's created on the server. However, I need to dynamically add a component to that game object. If I instantiate it on the server, add the component and spawn it, the clients are not seeing the component I added.

What do I need to do for that to happen programmatically?

Viewing all articles
Browse latest Browse all 16796

Trending Articles