コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】AnimatorでTime.timeScaleを無視する方法

updateMode プロパティを使用する

// タイムスケールを考慮する
animator.updateMode = AnimatorUpdateMode.Normal;
// タイムスケールを無視する
animator.updateMode = AnimatorUpdateMode.UnscaledTime;

参考サイト様