NetworkView RPC functions are deprecated

NetworkView RPC functions are deprecated now,what functions can replace RPC?

U need this :https://docs.unity3d.com/Manual/UNetActions.html

It became depricated since in version 5.1, Unity added completely new network system called UNET.

In UNET this function replaced with [Command] and [ClientRpc]

https://docs.unity3d.com/Manual/UNetActions.html

But personaly I am absolutely dislike this new UNET, Like for me, it is far more complicated, less flexible, confusing and have terrible tutorials.

It is sad that network system was degraded and now console is flooded with warnings about deprecated RPC which can’t be disabled.

https://forum.unity3d.com/threads/how-to-hide-warnings-networkview-rpc-is-obsolete-in-unity-5-1.379056/#post-2459777