Exemplo n.º 1
0
 public static TouchDisableTaskPool getInstance()
 {
     if (!instance)
     {
         GameObject go = new GameObject(typeof(TouchDisableTaskPool).ToString());
         instance = go.AddComponent <TouchDisableTaskPool>();
         instance.init();
     }
     return(instance);
 }
Exemplo n.º 2
0
 private void onPointerEnter(BaseEventData arg0)
 {
     //Debug.Log("onPointerEnter ctl="+ touchInputController);
     TouchDisableTaskPool.getInstance().touchEnable.Value = false;
 }
Exemplo n.º 3
0
 private void onPointerExit(BaseEventData arg0)
 {
     TouchDisableTaskPool.getInstance().touchEnable.Value = true;
 }