void RpcPlayBackOnClients() { playBackBrushStroke.positions = DeserializeVector3Array(positions); playBackBrushStroke.rotations = DeserializeVector3Array(rotations); playBackBrushStroke.PlayBackStroke(); }
public void EndingBrushstroke() { isPainting = false; print("end bursh"); positions = positionsList.ToArray(); playBackScript.positions = positions; rotations = rotationsList.ToArray(); playBackScript.rotations = rotations; playBackScript.PlayBackStroke(); //call the network brush //this.GetComponent<NetworkedBrush>().CallPlayStrokeOnClients(); }