Search Unity

Tell each client to perform animation

Discussion in 'Multiplayer' started by Felipetnh, Aug 27, 2014.

  1. Felipetnh

    Felipetnh

    Joined:
    May 3, 2012
    Posts:
    8
    Hey guys, how are you?

    My question might be simple, but I'm having a hard time figuring this one out.

    I have a turn-based card game. In the game, each player has to click in their deck so the top card turns over, and the next one does the same.
    How can I, after I click in my deck, tell all the other clients and the host to perform the animation of the card turning?

    I don't want to send/receive the animation info. Each player can turn my card in their builds. It's not really that important.
    Right now each card has a Network View component and when it turns, this component sends all that info to the other players, but it gets really laggy.

    Thanks!