updated code snip

This commit is contained in:
Chris Langsenkamp 2019-10-02 14:04:52 -04:00
parent 4306e08eb5
commit 9d7960b842

View File

@ -207,7 +207,7 @@ This method is simply called from `OnMouseDown` in the Scene Object script:
``` cs
void OnMouseDown()
{
NetworkClient.connection.playerController.GetComponent<PlayerEquip>().CmdPickupItem(gameObject);
NetworkClient.connection.identity.GetComponent<PlayerEquip>().CmdPickupItem(gameObject);
}
```