Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

need help for multiplayer chess game

Discussion in 'Multiplayer' started by elsharkawey, Sep 20, 2016.

  1. elsharkawey

    elsharkawey

    Joined:
    May 15, 2016
    Posts:
    41
    i working on normal multiplayer chess game for two players i have a code for moving pawn (black/and white) and i created a network manager game object and added the component networkmanager and networkmanager hud
    and spawn info player prefab "ChessBoard" the proplem is all the game objects for white team and black team (pawn,king,queen,etc..) are togther on one player prefab and i don't know how to set one prefab for white team and one prefab for black team ?
    my project in the attachment file

    the pieceas that allowed to move are pawns only
     

    Attached Files:

  2. elsharkawey

    elsharkawey

    Joined:
    May 15, 2016
    Posts:
    41
    no one know how ?