2
0

HideInInspector.cs 822 B

12345678910111213141516171819202122
  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 prevents a field or a property from being visible in the inspector window in editor. Normally those
  11. /// fields are public fields of a <see cref="Component"/>, <see cref="Resource"/> or a class marked with a
  12. /// <see cref="SerializeObject"/> attribute.
  13. /// </summary>
  14. [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
  15. public sealed class HideInInspector : Attribute
  16. {
  17. }
  18. /** @} */
  19. }