Insanely huge initial commit

This commit is contained in:
2026-02-21 16:40:15 -08:00
parent 208d626100
commit f74c547a13
33825 changed files with 5213498 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using UnityEngine;
namespace Michsky.MUIP
{
public class MUIPInternalTools : MonoBehaviour
{
public static string modalWindowStateName = "Fade-out";
public static string windowManagerStateName = "WM Window Out";
public static float GetAnimatorClipLength(Animator _animator, string _clipName)
{
float _lengthValue = -1;
RuntimeAnimatorController _rac = _animator.runtimeAnimatorController;
for (int i = 0; i < _rac.animationClips.Length; i++)
{
if (_rac.animationClips[i].name == _clipName)
{
_lengthValue = _rac.animationClips[i].length;
break;
}
}
return _lengthValue;
}
}
}