I want to sync animations through network, and i found this code, but it gives the following errors
@RPC
function AnimateNetwork (clip : String){
currentAnim = clip; anim.Play(clip);
}
function Update () {
currentAnim = "Run";
animation.Play("Run", 0.2); networkView.RPC("AnimateNetwork", RPCMode.AllBuffered, currentAnim);
}
if its says the animations doesn’t exist, here they are.