in my game, i have a singleplayer option where i just have a multiplayer game with one player.
however, the client rpc is not being called in Update(). And i have no idea how, even when i am walking around with the player it wont work.
strange thing, in my other scene, this actually does work without problems. So it is only for this scene.
// this is called in update
[Command]
private void CmdNetworkAnimator(string transition, bool value, bool trigger) {
RpcNetworkAnimator(transition, value, trigger);
}
[ClientRpc]
private void RpcNetworkAnimator(string transition, bool value, bool trigger)
{
if (trigger) FPSanim.SetTrigger(transition);
else FPSanim.SetBool(transition, value);
}
any help appreceated!