summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XSpotOnEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XSpotOnEventArgs.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XSpotOnEventArgs.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XSpotOnEventArgs.cs b/Client/Assets/Scripts/XMainClient/XSpotOnEventArgs.cs
new file mode 100644
index 00000000..c6ddc574
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/XSpotOnEventArgs.cs
@@ -0,0 +1,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);
+ }
+ }
+}