private void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } ClientManager.messageHandlers[Tags.rpcTag] += ServeRPC; }
public void RequestRPC(ushort eventTag, RPC parameter) { EntityRPCManager.RequestRPC(this, eventTag, parameter); }