Updated PickupDropChild doc

This commit is contained in:
Chris Langsenkamp 2019-08-29 02:05:20 -04:00
parent 77ae31ea57
commit d9256228bf
2 changed files with 6 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -212,3 +212,7 @@ This method is simply called from `OnMouseDown` in the Scene Object script:
``` ```
Since the SceneObject(Clone) is networked, we can pass it directly through to `CmdPickupItem` on the player object to set the equipped item SyncVar and destroy the scene object. Since the SceneObject(Clone) is networked, we can pass it directly through to `CmdPickupItem` on the player object to set the equipped item SyncVar and destroy the scene object.
For this entire example, the only prefab that needs to be registered with Network Manager besides the Player is the SceneObject prefab.
![](ChildObjects3.PNG)