EventAttribute.cs 271 B

123456789101112131415
  1. using System;
  2. namespace ET
  3. {
  4. [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
  5. public class EventAttribute: BaseAttribute
  6. {
  7. public SceneType SceneType { get; }
  8. public EventAttribute(SceneType sceneType)
  9. {
  10. this.SceneType = sceneType;
  11. }
  12. }
  13. }