Exemplo n.º 1
0
 public void LiveLink()
 {
     if (m_AnimationOffsetPlayable.IsValid())
     {
         m_AnimationOffsetPlayable.SetPosition(position);
         m_AnimationOffsetPlayable.SetRotation(rotation);
     }
 }
Exemplo n.º 2
0
        internal void UpdateClipOffsets()
        {
#if UNITY_EDITOR
            if (m_ClipOffset.IsValid())
            {
                m_ClipOffset.SetPosition(position);
                m_ClipOffset.SetRotation(rotation);
            }
#endif
        }