[VRTK]_VR_InteractableObject重写--抓取之后

namespace VRTK.Examples
{
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;

    public class VR_Towel : VRTK_InteractableObject
    {
   
        public GameObject men;
        public override void Grabbed(VRTK_InteractGrab currentGrabbingObject = null)
        {
            base.Grabbed(currentGrabbingObject);
            //抓取到之后做某事
            hijglingCtrl.highlighterObjectByBool(men, true);
        
          
        }
       
    }
}

 

你可能感兴趣的:(HTC,VIVE设备研究)