public bool OnIconDrag(){ GameObject originalObj = mIconDragController.currentDragIcon; IconController iconController = originalObj.GetComponent<IconController> (); if (oriColor.Equals(Color.clear)) { Image bg = originalObj.GetComponent<Image> (); oriColor = bg.color; } bool enter = OnIconEnterOrExit (); if (enter) { if (!controlFlag) { controlFlag = true; mLauncherController.Log (TAG, "OnIconDrag1 enter"+enter); iconController.hideText (); DoIconAnim (originalObj, Color.clear); } } else { if (controlFlag) { controlFlag = false; mLauncherController.Log (TAG, "OnIconDrag2 enter"+enter); iconController.showText (); DoIconAnim (mIconDragController.currentDragIcon, oriColor); } } return enter; }