public GameObject GetPrefabById(P2PNetworkHash128 id)
    {
        GameObject result = null;

        this.m_IdToPrefab.TryGetValue(id, out result);
        return(result);
    }
示例#2
0
 public void Write(P2PNetworkHash128 value)
 {
     this.Write(value.i0);
     this.Write(value.i1);
     this.Write(value.i2);
     this.Write(value.i3);
     this.Write(value.i4);
     this.Write(value.i5);
     this.Write(value.i6);
     this.Write(value.i7);
     this.Write(value.i8);
     this.Write(value.i9);
     this.Write(value.i10);
     this.Write(value.i11);
     this.Write(value.i12);
     this.Write(value.i13);
     this.Write(value.i14);
     this.Write(value.i15);
 }