Files
BITFALL/Assets/BITKit/Unity/Scripts/Utility/AnimatorUtils.cs
CortexCore 45913c6b3e 1
2023-08-23 01:59:40 +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;
}
}
}