summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XCameraActionEventArgs.cs
blob: b85b7d2f6b83206e41a446a95ae7467ab8bff8f7 (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
29
30
31
32
using System;

namespace XMainClient
{
	internal class XCameraActionEventArgs : XEventArgs
	{
		public float Dis;

		public float YRotate;

		public float XRotate;

		public XCameraActionEventArgs.FinishHandler Finish;

		public delegate void FinishHandler();

		public XCameraActionEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_CameraAction;
		}

		public override void Recycle()
		{
			base.Recycle();
			this.YRotate = 0f;
			this.XRotate = 0f;
			this.Dis = 0f;
			this.Finish = null;
			XEventPool<XCameraActionEventArgs>.Recycle(this);
		}
	}
}