ShowInInspector.cs 1005 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 forces a field or a property to be visible in the inspector window in editor. Normally public fields
  11. /// are show in the inspector by default, and you can use this attribute to show private/protected/internal fields, or
  12. /// to show properties (never shown by default) as well. Type of the field/property must be a serializable type or
  13. /// a type marked with this attribute itself.
  14. /// </summary>
  15. [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Struct)]
  16. public sealed class ShowInInspector : Attribute
  17. {
  18. }
  19. /** @} */
  20. }