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);
        
          
        }
       
    }
}

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章