NetworkingPeer.SetLevelPrefix C# (CSharp) Method

SetLevelPrefix() public method

public SetLevelPrefix ( short prefix ) : void
prefix short
return void
    public void SetLevelPrefix(short prefix)
    {
        this.currentLevelPrefix = prefix;
        // TODO: should we really change the prefix for existing PVs?! better keep it!
        //foreach (PhotonView view in this.photonViewList.Values)
        //{
        //    view.prefix = prefix;
        //}
    }

Usage Example

Exemplo n.º 1
0
 public static void SetLevelPrefix(short prefix)
 {
     if (VerifyCanUseNetwork())
     {
         networkingPeer.SetLevelPrefix(prefix);
     }
 }
All Usage Examples Of NetworkingPeer::SetLevelPrefix
NetworkingPeer