Exemplo n.º 1
0
        void ProfilerOutgoingMessage(ushort msgType)
        {
#if NETWORK_PROFILER_ENABLED && UNITY_EDITOR
            var profilerName = new StringBuilder(DEBUGGING_NAME);
            profilerName.Append(msgType);
            NetworkProfiler.RecordMessageOutgoing(profilerName.ToString(), m_NetworkWriter.FilledLength);
#endif
        }