HideInInspector.cs 726 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 a field from being visible in the inspector window in editor. 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 HideInInspector : Attribute
  13. {
  14. }
  15. }