mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
cleanu
This commit is contained in:
parent
7ae1496b88
commit
fe3e365c7d
@ -811,16 +811,10 @@ bool OnSerializeSafely(NetworkBehaviour comp, NetworkWriter writer, bool initial
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
// serialize all components using dirtyComponentsMask
|
||||||
/// serialize all components using dirtyComponentsMask
|
// check ownerWritten/observersWritten to know if anything was written
|
||||||
/// <para>check ownerWritten/observersWritten to know if anything was written</para>
|
// We pass dirtyComponentsMask into this function so that we can check
|
||||||
/// <para>We pass dirtyComponentsMask into this function so that we can check if any Components are dirty before creating writers</para>
|
// if any Components are dirty before creating writers
|
||||||
/// </summary>
|
|
||||||
/// <param name="initialState"></param>
|
|
||||||
/// <param name="ownerWriter"></param>
|
|
||||||
/// <param name="ownerWritten"></param>
|
|
||||||
/// <param name="observersWriter"></param>
|
|
||||||
/// <param name="observersWritten"></param>
|
|
||||||
internal void OnSerializeAllSafely(bool initialState, NetworkWriter ownerWriter, out int ownerWritten, NetworkWriter observersWriter, out int observersWritten)
|
internal void OnSerializeAllSafely(bool initialState, NetworkWriter ownerWriter, out int ownerWritten, NetworkWriter observersWriter, out int observersWritten)
|
||||||
{
|
{
|
||||||
// clear 'written' variables
|
// clear 'written' variables
|
||||||
|
Loading…
Reference in New Issue
Block a user