SamsonGame/Assets/Scripts/Core/EnumHelper.cs

18 lines
376 B
C#

using game;
public static class EnumHelper
{
public static uint IdFromConsumableType(EnumConsumable type)
{
switch (type)
{
case EnumConsumable.COIN:
return 166039439;
case EnumConsumable.KEY:
return 49554996;
default:
return 0;
}
}
}