mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[AASBufferFix] Cleanup
This commit is contained in:
parent
37875a2c7c
commit
c7ca08cd4d
3 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
using MelonLoader;
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NAK.AASBufferFix;
|
||||
|
||||
|
@ -14,7 +13,11 @@ public class Utils
|
|||
|
||||
foreach (AnimatorControllerParameter animatorControllerParameter in animator.parameters)
|
||||
{
|
||||
if (animatorControllerParameter.name.Length > 0 && animatorControllerParameter.name[0] != '#' && !coreParameters.Contains(animatorControllerParameter.name) && bitCount <= 3200)
|
||||
// Do not count above bit limit
|
||||
if (!(bitCount <= 3200))
|
||||
break;
|
||||
|
||||
if (animatorControllerParameter.name.Length > 0 && animatorControllerParameter.name[0] != '#' && !coreParameters.Contains(animatorControllerParameter.name))
|
||||
{
|
||||
AnimatorControllerParameterType type = animatorControllerParameter.type;
|
||||
switch (type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue