Hi,
I am trying to use UNET on the latest version of Unity. I have Network Identity attached on player gameobject and have Local Player Authority checked.
I have a shooting script and a health attached on the same level as the Network Identity component. In shooting script, I have a command method which work perfectly on both client and host.
Trying to send command for object without authority?
I am trying to use UNET on the latest version of Unity. I have Network Identity attached on player gameobject and have Local Player Authority checked.
I have a shooting script and a health attached on the same level as the Network Identity component. In shooting script, I have a command method which work perfectly on both client and host.
Code (CSharp):