private void OnTriggerEnter(Collider other)
    {
        ViveWand viveWand = other.GetComponent <ViveWand>();

        if (viveWand)
        {
            viveWand.SetSkin(m_relatedSkin);
        }
    }
Example #2
0
 public void SetViveWandSkins(ViveWand.ViveWandSkins skin)
 {
     m_rightWand.SetSkin(skin);
     m_leftWand.SetSkin(skin);
 }