Exemple #1
0
 /// <summary>
 /// 設定を取得
 /// </summary>
 static ExtractAnimationClipSettings GetSettings()
 {
     if (_settings == null)
     {
         _settings = LoadSettings();
     }
     return(_settings);
 }
Exemple #2
0
        /// <summary>
        /// 指定されたMotionTypeにおけるループモーション名のListを返す
        /// </summary>
        public static List <string> GetLoopMotionNames(ExtractAnimationClipSettings settings,
                                                       ExtractAnimationClipEnum.MotionType type)
        {
            switch (type)
            {
            case ExtractAnimationClipEnum.MotionType.InGame:
                return(settings.InGameLoopMotionNameList);

            case ExtractAnimationClipEnum.MotionType.OutGame:
                return(settings.OutGameLoopMotionNameList);

            default:
                return(null);
            }
        }