Exemplo n.º 1
0
 void OnPoseChanged(TrTransform prev, TrTransform current) {
   // Attempting to start a coroutine when inactive was throwing an error.
   if (gameObject.activeSelf) {
     // Refresh our visuals, but do it a frame later.
     StartCoroutine(m_Path.DelayRefresh());
   }
 }