以下の内容はhttps://baba-s.hatenablog.com/entry/2023/04/25/082047より取得しました。


【Unity】Animator 型の拡張メソッド

ソースコード

using System.Collections.Generic;
using UnityEngine;

namespace Kogane
{
    public static class AnimatorExtensionMethods
    {
        public static void Play( this Animator self )
        {
            self.Play( 0 );
        }

        public static void Play( this IReadOnlyList<Animator> self )
        {
            foreach ( var animator in self )
            {
                animator.Play();
            }
        }
    }
}



以上の内容はhttps://baba-s.hatenablog.com/entry/2023/04/25/082047より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14