コード例 #1
0
    void RpcPlayBackOnClients()
    {
        playBackBrushStroke.positions = DeserializeVector3Array(positions);
        playBackBrushStroke.rotations = DeserializeVector3Array(rotations);

        playBackBrushStroke.PlayBackStroke();
    }
コード例 #2
0
    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();
    }