summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XRotationEventArgs.cs
blob: de354b613f34ac0fa895233b5128b34c5da4ff33 (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
using System;
using UnityEngine;

namespace XMainClient
{
	internal class XRotationEventArgs : XEventArgs
	{
		public Vector3 TargetDir = Vector3.forward;

		public float Palstance = 0f;

		public XRotationEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_Rotation;
		}

		public override void Recycle()
		{
			this.TargetDir = Vector3.forward;
			this.Palstance = 0f;
			base.Recycle();
			XEventPool<XRotationEventArgs>.Recycle(this);
		}
	}
}