summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XCameraMotionEventArgs.cs
blob: 6580213f3b904f937e931205f4113095679ab921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XCameraMotionEventArgs : XEventArgs
	{
		public XEntity Target = null;

		public string Trigger = null;

		public XCameraMotionData Motion = null;

		public XCameraMotionEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_CameraMotion;
		}

		public override void Recycle()
		{
			base.Recycle();
			this.Motion = null;
			this.Trigger = null;
			this.Target = null;
			XEventPool<XCameraMotionEventArgs>.Recycle(this);
		}
	}
}