SerializeField.cs 774 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 may be used on fields to mark them as serializable. Normally public fields are serialized
  8. /// by default, and you can use this attribute to mark private/protected/internal fields as serialized as well.
  9. /// Fields must be in a serializable object otherwise this attribute has no effect.
  10. /// </summary>
  11. [AttributeUsage(AttributeTargets.Field)]
  12. public sealed class SerializeField : Attribute
  13. {
  14. }
  15. }