mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
updated code snip
This commit is contained in:
parent
4306e08eb5
commit
9d7960b842
@ -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);
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user