Files
match3-unity/Assets/Scripts/Utils/GemUtils.cs
2025-12-15 02:34:59 +08:00

14 lines
353 B
C#

using Enums;
using Structs;
namespace Utils {
public static class GemUtils {
public static GemTypeValues GetGemValues(GemType type, GemTypeValues[] gemValues) {
foreach (GemTypeValues gemValue in gemValues) {
if(gemValue.type == type) return gemValue;
}
return default;
}
}
}