public static void DoItemAction(this EquipmentInfo _eq, ItemActionType _type) { // if(_type == ItemActionType.SelectAdd){ // NGUIDebug.Log("DoItemAction " + _eq.InstanceID); // } // Debug.Log("Check Click Times---------DoItemAction--------------"); // System.Action action = _eq.GetItemAction(_type); // if (action != null) action(); _eq.GetItemAction(_type); }