Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Third Party Unity Multiplayer Card Game with Photon (PUN2)

Discussion in 'Multiplayer' started by shawonRokerz, Jun 7, 2021.

  1. shawonRokerz

    shawonRokerz

    Joined:
    Jan 10, 2021
    Posts:
    3
    Hello guys
    I am new in this community. I need some code example in unity.
    I need the basic code example how I can develop a multiplayer card-game in unity with photon(pun 2). I have searched many sites and blogs but there is not enough info on the web still now. Please give me a proper guideline how I can continue my project.
    Thanks in advance.
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,086
    I don't know if there is any card game tutorial or sample but you can learn from the docs and apply this to a turn based game as well.
    I'd say, experiment with RaiseEvent and Custom Properties to send actions and get the state shared.
    A card game should not have a lot of use for networked objects and position updates of those...
     
  3. shawonRokerz

    shawonRokerz

    Joined:
    Jan 10, 2021
    Posts:
    3
    Thank you for your help, still I am expecting a little help.
    Currently I am following your instruction.