public static UIEventListenerContext Create(IUIEventListener listener) { UIEventListenerContext context = RecyclableObject.Create <UIEventListenerContext>(); context.m_listener = listener; return(context); }
protected override void Awake() { base.Awake(); this.CareCategory = EasyTouchEventCategoty.ETEC_SimpleTap + EasyTouchEventCategoty.ETEC_Drag; m_event_listener_context = UIEventListenerContext.Create(this); //StartCoroutine(Test()); //Debug.LogError("Test1"); //a = false; }
public static void Recycle(UIEventListenerContext context) { RecyclableObject.Recycle(context); }