123456789101112131415161718192021222324252627282930313233 |
- using System.Collections;
- using System.Collections.Generic;
- using GameFramework;
- using GameFramework.Event;
- using UnityEngine;
- public class IT_FaultNextEvent : GameEventArgs
- {
- public static readonly int EventId = typeof(IT_FaultNextEvent).GetHashCode();
- public override int Id
- {
- get
- {
- return EventId;
- }
- }
- public IT_FaultType FaultType;
- public int stepIndex=0;
-
- public static IT_FaultNextEvent Create(IT_FaultType _type,int index)
- {
- IT_FaultNextEvent args = ReferencePool.Acquire<IT_FaultNextEvent>();
- args.FaultType = _type;
- args.stepIndex = index;
- return args;
- }
-
- public override void Clear()
- {
-
- }
- }
|