private void Init() { if (Highliter != null) { Highliter.Initialise(); Highliter.Highlight(HightlightColor); } }
private void Start() { m_HighLighter = m_HighLighter ? GetComponent <VRTK_OutlineObjectCopyHighlighter>() : m_HighLighter; if (m_HighLighter != null) { m_HighLighter.Initialise(); } EventCenter.AddListener(ActiveStep, HighLight); }
private void Start() { highLighter = GetComponent <VRTK_OutlineObjectCopyHighlighter>(); if (highLighter != null) { highLighter.Initialise(); } EventCenter.AddListener(EventDefine.WeildDrill, HighLight); EventCenter.AddListener(EventDefine.UnWeildDrill, UnHighLight); }