RunInEditor.cs 714 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 allows Component's code to be executed while game is not running in the editor. Normally the
  8. /// initialize/update/destroy methods will not be running while the game is paused or not running, but this overrides
  9. /// that behaviour.
  10. /// </summary>
  11. [AttributeUsage(AttributeTargets.Class)]
  12. public sealed class RunInEditor : Attribute
  13. {
  14. }
  15. }