public void OnInteractivePreviewGUI(Rect r, GUIStyle background)
{
if ((this.m_AvatarPreview != null) && (this.m_Controller != null))
{
if ((this.m_LastEvalTime != this.m_AvatarPreview.timeControl.currentTime) && (Event.current.type == EventType.Repaint))
{
this.m_AvatarPreview.Animator.playbackTime = this.m_AvatarPreview.timeControl.currentTime;
this.m_AvatarPreview.Animator.Update(0f);
this.m_LastEvalTime = this.m_AvatarPreview.timeControl.currentTime;
}
this.m_AvatarPreview.DoAvatarPreview(r, background);
}
}