In the UnitMovement script, we added the ClientCallback attribute to Update. But we didn’t do so in UnitSelectionHandler. Why?
Similarly, we used OnStartAuthority in the UnitMovement, but the normal Start in UnitSelectionHandler.
thx
In the UnitMovement script, we added the ClientCallback attribute to Update. But we didn’t do so in UnitSelectionHandler. Why?
Similarly, we used OnStartAuthority in the UnitMovement, but the normal Start in UnitSelectionHandler.
thx
On further thought, I think these attributes are meaningless since this script is a MonoBehaviour, not a NetworkBehaviour. Is that right?
That said, when I keep the ClientCallback attribute on Start, it never runs (thus causing the raycast to fail as mainCamera is never assigned). Why doesnt it run? It should since Im a client, no?
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.