Exemplo n.º 1
0
        public void AddListener(float pressTime, OnClickDelegeteWhithData action)
        {
            LongTimePressData pressData = new LongTimePressData()
            {
                Time = pressTime, onclickWithData = action,
            };

            this.longTimePressDataList.Add(pressData);
        }
Exemplo n.º 2
0
 public void RemoveAllListeners()
 {
     onclick         = null;
     onclickWithData = null;
 }
Exemplo n.º 3
0
 public void AddListener(OnClickDelegeteWhithData action)
 {
     onclickWithData += action;
 }