Beispiel #1
0
 private static AnimatorType GetAnimatorType(object obj, out System.Type tp)
 {
     if (obj is IProxy)
     {
         tp = (obj as IProxy).GetTargetType();
         return(AnimUtil.GetAnimatorType(tp));
     }
     else if (obj != null)
     {
         tp = obj.GetType();
         return(AnimUtil.GetAnimatorType(tp));
     }
     else
     {
         tp = null;
         return(AnimatorType.Unknown);
     }
 }