private NetMgr() { #if UNITY_WEBGL net = new WebNetSocket(); #else net = new NetSocket(); #endif }
public NetMgr() { cacheCMDList = new List <ProtoBase>(); #if UNITY_WEBGL net = new WebNetSocket(); #else net = new NetSocket(); #endif }
public NetMgr() { cacheCMDList = new List <ProtoBase>(); net = new NetSocket(); }