Esempio n. 1
0
 private void GetFootAnchorFromAvatar(ref Transform anchor, BaseMonoAvatar avatar, string name)
 {
     if ((anchor == null) && (avatar != null))
     {
         anchor = avatar.GetAttachPoint(name);
     }
     if (anchor == null)
     {
         base.enabled = false;
     }
 }