public void setBackground(txNGUITexture background) { mBackground = background; mBackground.setOnMouseDown(onMouseDown); mBackground.setOnScreenMouseUp(onScreenMouseUp); mBackground.setOnMouseMove(onMouseMove); mBackground.setOnMouseStay(onMouseStay); mScript.registeBoxCollider(mBackground, true); }