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

namespace XMainClient
{
	internal class XSpotOnEventArgs : XEventArgs
	{
		public bool Enabled = false;

		public Color color = Color.red;

		public XSpotOnEventArgs()
		{
			this._eDefine = XEventDefine.XEvent_SpotOn;
		}

		public override void Recycle()
		{
			Color red = Color.red;
			base.Recycle();
			XEventPool<XSpotOnEventArgs>.Recycle(this);
		}
	}
}