using System; using XUtliPoolLib; namespace XMainClient { internal class XCameraShakeEventArgs : XEventArgs { public XCameraEffectData Effect { get; set; } public float TimeScale = 1f; public XCameraShakeEventArgs() { this._eDefine = XEventDefine.XEvent_CameraShake; } public override void Recycle() { this.Effect = null; this.TimeScale = 1f; base.Recycle(); XEventPool.Recycle(this); } } }