SerializeField.cs 522 B

1234567891011121314
  1. using System;
  2. namespace BansheeEngine
  3. {
  4. /// <summary>
  5. /// Attribute that may be used on fields to mark them as serializable. Normally public fields are serialized
  6. /// by default, and you can use this attribute to mark private/protected/internal fields as serialized as well.
  7. /// Fields must be in a serializable object otherwise this attribute has no effect.
  8. /// </summary>
  9. [AttributeUsage(AttributeTargets.Field)]
  10. public sealed class SerializeField : Attribute
  11. {
  12. }
  13. }