private void OnTriggerEnter(Collider other) { ViveWand viveWand = other.GetComponent <ViveWand>(); if (viveWand) { viveWand.SetSkin(m_relatedSkin); } }
public void SetViveWandSkins(ViveWand.ViveWandSkins skin) { m_rightWand.SetSkin(skin); m_leftWand.SetSkin(skin); }