Style guidelines say these are bad. (#672)

This commit is contained in:
rodolphito 2019-03-27 05:20:36 -07:00 committed by vis2k
parent 57066a6003
commit ba298c74b0
3 changed files with 4 additions and 4 deletions

View File

@ -595,7 +595,7 @@ internal byte[] OnSerializeAllSafely(bool initialState)
return onSerializeWriter.ToArray();
}
private ulong GetDirtyMask(NetworkBehaviour[] components, bool initialState)
ulong GetDirtyMask(NetworkBehaviour[] components, bool initialState)
{
// loop through all components only once and then write dirty+payload into the writer afterwards
ulong dirtyComponentsMask = 0L;

View File

@ -421,7 +421,7 @@ static void OnDataReceived(int connectionId, byte[] data)
}
}
private static void OnError(int connectionId, Exception exception)
static void OnError(int connectionId, Exception exception)
{
// TODO Let's discuss how we will handle errors
Debug.LogException(exception);

View File

@ -28,8 +28,8 @@ static NetworkTime()
static ExponentialMovingAverage _offset = new ExponentialMovingAverage(10);
// the true offset guaranteed to be in this range
private static double offsetMin = double.MinValue;
private static double offsetMax = double.MaxValue;
static double offsetMin = double.MinValue;
static double offsetMax = double.MaxValue;
// returns the clock time _in this system_
static double LocalTime()