Question by
midnightgamedev · Sep 14, 2021 at 12:53 PM ·
networking
MLAPI - Disabling a gameobject that does not have a networkobject component
Hi! i'd like to disable this Gameobject for every client, i usually would do gameObjectName.SetActive(False); but with network ofc it doesn's show for the others..
so i would do gameObjectName.GetComponent().Despawn();
but i can't add a network object component since the gameobject its a child of the player that already have a networkobject, so i really don't know how to do this any help?
M1911 its the object i want to disable and controller is the player
screenshot-2021-09-14-012540.jpg
(7.1 kB)
Comment