DontSerializeField.cs 478 B

1234567891011121314
  1. using System;
  2. namespace BansheeEngine
  3. {
  4. /// <summary>
  5. /// Attribute that prevents serialization of a field that would otherwise be serialized. Normally those fields
  6. /// are public fields of a <see cref="Component"/>, <see cref="Resource"/> or a class marked with a
  7. /// <see cref="SerializeObject"/> attribute.
  8. /// </summary>
  9. [AttributeUsage(AttributeTargets.Field)]
  10. public sealed class DontSerializeField : Attribute
  11. {
  12. }
  13. }