Example #1
0
        public static UIEventListenerContext Create(IUIEventListener listener)
        {
            UIEventListenerContext context = RecyclableObject.Create <UIEventListenerContext>();

            context.m_listener = listener;
            return(context);
        }
Example #2
0
    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;
    }
Example #3
0
 public static void Recycle(UIEventListenerContext context)
 {
     RecyclableObject.Recycle(context);
 }