forked from zxl/LaboratoryProtection
20 lines
526 B
C#
20 lines
526 B
C#
using UnityEngine;
|
|
using UnityTest.ZXL;
|
|
|
|
namespace Mono.Event
|
|
{
|
|
public class ClickObjectEventArgs : GameEventArgs
|
|
{
|
|
public static readonly int EventId = typeof(ClickObjectEventArgs).GetHashCode();
|
|
public override int Id => EventId;
|
|
|
|
public ObjectComponent go;
|
|
public HighlightObjectType objectType;
|
|
|
|
public ClickObjectEventArgs(ObjectComponent go, HighlightObjectType objectType)
|
|
{
|
|
this.go = go;
|
|
this.objectType = objectType;
|
|
}
|
|
}
|
|
} |