string TextureForWeapon = Weapon + "_" + CurrentCombo;
print(TextureForWeapon);
// returns Steel Sword_1
if (TextureForWeapon == "Steel Sword_1") {
print ("it matches");
}
No idea what’s going on here. TextureForWeapon should be “Steel Sword_1” and that’s what it’s outputting, but when I compare it - it returns false, even though they’re identical.