Files
BITKit/Unity/Scripts/Utility/AnimatorUtils.cs
CortexCore 4565ff2e35 1
2023-06-05 16:25:06 +08:00

20 lines
415 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BITKit
{
public struct AnimatorParameter
{
public AnimatorControllerParameterType type;
public string name;
public object value;
public T Get<T>()
{
if (value is T t)
{
return t;
}
return default;
}
}
}