/// <summary>
 /// Get the animator for the outfit, or null if none found.
 /// </summary>
 /// <remarks>
 /// <para>
 /// The default behavior is to use <see cref="Outfit.GetAnimator()"/>.
 /// </para>
 /// </remarks>
 /// <param name="outfit">The outfit. (Required)</param>
 /// <returns>The animator, or null if none found.</returns>
 protected virtual Animator GetAnimator(Outfit outfit)
 {
     // TODO: v0.3: EVAL: Make this public?
     return(outfit.GetAnimator());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Get the outfit's animator, or null if there is none.
 /// </summary>
 /// <remarks>
 /// <para>
 /// The default behavior is to use <see cref="Outfit.GetAnimator()"/>.
 /// </para>
 /// </remarks>
 /// <param name="outfit">The outfit. (May be null.)</param>
 /// <returns>The outfit's animator, or null if none found.</returns>
 protected virtual Animator GetAnimator(Outfit outfit)
 {
     return(outfit ? outfit.GetAnimator() : null);
 }