Hello sir, I’m a newbie and sorry if this is a stupid question.
if (other.gameObject.tag != ("StealthKillA") ("StealthKillB")("StealthKillC")("StealthKillD")) return;
This code is error no doubt, as you can see I got 4 tags with a similar idea and I try to write it into c# script. How do I tell in c# that “if tag not equal to StealthKillA or StealthKillB or StealthKillC or StealthKillD” … return;
For now, I solve this by writing the hold thing again 4 times (Stupid I know) but how to write it correctly?