You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
572 B
C#
27 lines
572 B
C#
|
|
|
|
using System;
|
|
using UnityEngine.UIElements;
|
|
|
|
namespace AV.UITK
|
|
{
|
|
public class CallHandle
|
|
{
|
|
public FluentElement x { get; internal set; }
|
|
public Delegate callback { get; internal set; }
|
|
public EventBase evt { get; internal set; }
|
|
public int totalCalls { get; internal set; }
|
|
|
|
internal long eventTypeId;
|
|
internal TrickleDown trickle;
|
|
|
|
public void Use()
|
|
{
|
|
evt.StopPropagation();
|
|
}
|
|
public void Unregister()
|
|
{
|
|
x.Unregister(this);
|
|
}
|
|
}
|
|
} |