public void OnTransformChange(AreaInteractObject obj)
 {
     if (obj)
     {
         m_CurrentObject = obj.transform;
     }
     else
     {
         m_CurrentObject = null;
     }
 }
 public void OnObjectGet(AreaInteractObject obj)
 {
     if (obj)
     {
         switch (obj.m_ObjectType)
         {
         case AreaInteractionType.Holding:
             SetText(m_HoldObjectTip);
             break;
         }
     }
     else
     {
         SetText(m_HoldObjectTip);
     }
 }
        void OnInteract(AreaInteractObject currentObject, AreaInteractObject combineObject)
        {
            switch (currentObject.m_ObjectType)
            {
            case AreaInteractionType.Static:
            {
            }
            break;

            case AreaInteractionType.Pickup:
                break;

            case AreaInteractionType.Holding:
            {
                InteractionHoldingObject holding = currentObject as InteractionHoldingObject;
                holding.Hold(combineObject, m_HoldingParent);
            }
            break;
            }
        }
 public void Hold(AreaInteractObject last, Transform handParent)
 {
     // return;
     m_ParentObject.SetParent(handParent);
     Debug.Log("拿");
 }
 void OnUnInteract(AreaInteractObject obj)
 {
     obj.UnInteract();
 }