2023-09-13 15:04:19 +08:00
|
|
|
|
using UnityEngine;
|
2023-09-14 15:36:17 +08:00
|
|
|
|
using UnityTest.ZXL;
|
2023-09-13 15:04:19 +08:00
|
|
|
|
|
|
|
|
|
namespace Mono.Event
|
|
|
|
|
{
|
|
|
|
|
public class ClickObjectEventArgs : GameEventArgs
|
|
|
|
|
{
|
|
|
|
|
public static readonly int EventId = typeof(ClickObjectEventArgs).GetHashCode();
|
|
|
|
|
public override int Id => EventId;
|
|
|
|
|
|
2023-09-14 15:36:17 +08:00
|
|
|
|
public ObjectComponent go;
|
|
|
|
|
public HighlightObjectType objectType;
|
2023-09-13 15:04:19 +08:00
|
|
|
|
|
2023-09-14 15:36:17 +08:00
|
|
|
|
public ClickObjectEventArgs(ObjectComponent go, HighlightObjectType objectType)
|
2023-09-13 15:04:19 +08:00
|
|
|
|
{
|
|
|
|
|
this.go = go;
|
2023-09-14 15:36:17 +08:00
|
|
|
|
this.objectType = objectType;
|
2023-09-13 15:04:19 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|