Exemple #1
0
 void ValidatePathT() {
   if (m_CurrentPathWidget == null) {
     m_PathT.Zero();
   } else {
     m_PathT.Clamp(m_CurrentPathWidget.Path.PositionKnots.Count);
   }
 }
Exemple #2
0
 public void SetPathT(PathT pathT)
 {
     if (m_CurrentPathWidget != null)
     {
         m_PathT = pathT;
         m_PathT.Clamp(m_CurrentPathWidget.Path.PositionKnots.Count);
     }
 }