Ob_TrainAniEvent.cs 631 B

123456789101112131415161718192021222324252627282930
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using GameFramework;
  4. using GameFramework.Event;
  5. using UnityEngine;
  6. public class Ob_TrainAniEvent : GameEventArgs
  7. {
  8. public static readonly int EventId = typeof(Ob_TrainAniEvent).GetHashCode();
  9. public override int Id
  10. {
  11. get
  12. {
  13. return EventId;
  14. }
  15. }
  16. public int type = 0;
  17. public static Ob_TrainAniEvent Create(int _type)
  18. {
  19. Ob_TrainAniEvent args = ReferencePool.Acquire<Ob_TrainAniEvent>();
  20. args.type = _type;
  21. return args;
  22. }
  23. public override void Clear()
  24. {
  25. }
  26. }