SerializeField.cs 1011 B

1234567891011121314151617181920212223
  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. /** @addtogroup Serialization
  7. * @{
  8. */
  9. /// <summary>
  10. /// Attribute that may be used on fields or properties to mark them as serializable. Normally public fields are
  11. /// serialized by default, and you can use this attribute to mark private/protected/internal fields as serialized, or to
  12. /// mark properties (never serialized by default) as serializable as well. Member must be in a serializable object
  13. /// otherwise this attribute has no effect, and the type of the field/property must be a serializable type.
  14. /// </summary>
  15. [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
  16. public sealed class SerializeField : Attribute
  17. {
  18. }
  19. /** @} */
  20. }