public SerializationCallbacks(Type type)
{
onSerializingList = GetMethodsByAttribute(type, typeof(OnSerializingAttribute));
onSerializedList = GetMethodsByAttribute(type, typeof(OnSerializedAttribute));
onDeserializingList = GetMethodsByAttribute(type, typeof(OnDeserializingAttribute));
onDeserializedList = GetMethodsByAttribute(type, typeof(OnDeserializedAttribute));
}