mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
wasd
This commit is contained in:
parent
38445efae3
commit
7b5ad71060
4 changed files with 21 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
using UnityEngine.Playables;
|
||||
|
||||
namespace NAK.Melons.BadAnimatorFix;
|
||||
|
||||
public class BadAnimatorFix : MonoBehaviour
|
||||
{
|
||||
private const float StateLimit = 20f;
|
||||
|
@ -44,7 +45,13 @@ public class BadAnimatorFix : MonoBehaviour
|
|||
PlayableExtensions.SetTime<Playable>(rootPlayable, 0);
|
||||
|
||||
if (BadAnimatorFixMod.EntryLogging.Value)
|
||||
{
|
||||
BadAnimatorFixMod.Logger.Msg($"Rewound animator and playable {animator}.");
|
||||
}
|
||||
}
|
||||
else if (BadAnimatorFixMod.EntryLogging.Value)
|
||||
{
|
||||
BadAnimatorFixMod.Logger.Msg($"Animator did not meet criteria to rewind {animator}.");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue