One serializer (or custom type) for multiple classes

Options
Is there a way to add just one serializer that can handle mutiple types?

Something like:
PhotonPeer.RegisterType(typeof(IAddressable), 255, SerializeAddressable, DeserializeAddressable);

And then that line of code is enough to serialize the following classes:
class AddressableItem : IAddressable
class AddressableSkill : IAddressable
class AddressableCharacter : IAddressable

Comments