protected void AuthoritativeInitialize(BMSByte data)
{
newData.Reset();
newData.Bytes.Clone(data);
newData.ManualReady();
try
{
Deserialize(newData);
}
catch (Exception ex)
{
if (ex is IndexOutOfRangeException)
Debug.LogError("The object " + gameObject.name + "'s serialization patterns do not match");
else
throw ex;
}
DataInitialized = true;
}