2
0

DontSerializeField.cs 730 B

12345678910111213141516
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. using System;
  4. namespace BansheeEngine
  5. {
  6. /// <summary>
  7. /// Attribute that prevents serialization of a field that would otherwise be serialized. Normally those fields
  8. /// are public fields of a <see cref="Component"/>, <see cref="Resource"/> or a class marked with a
  9. /// <see cref="SerializeObject"/> attribute.
  10. /// </summary>
  11. [AttributeUsage(AttributeTargets.Field)]
  12. public sealed class DontSerializeField : Attribute
  13. {
  14. }
  15. }