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