Search Unity

IS Network.IsClient the same as Network.peerType == NetworkPeerType.Client?

Discussion in 'Multiplayer' started by imgodot, Feb 9, 2014.

  1. imgodot

    imgodot

    Joined:
    Nov 29, 2013
    Posts:
    212
    I am having multiplayer issues that I thought I had licked and want to make sure my assumptions are correct.

    Therefore, can anyone tell me if Network.IsClient is always true when Network.peerType == NetworkPeerType.Client is true?
    And, if one is false then the other is always false.

    Thanks for any help.

    Signed,
    It's-been-months-and-I'm-still-a-noob (Paul)
     
  2. appels

    appels

    Joined:
    Jun 25, 2010
    Posts:
    2,687
    They are both the same.