Is there a way to activate for example boolean1 if it finds the tag “Tag1” and activate boolean2 if it finds the tag “Tag2” on function Start()?
1 Answer
1bool boolean1;
bool boolean2;
void Start () {
if(tag = "Tag1"){
boolean1 = true;
} else if (tag = "Tag2") {
boolean2 = true;
}
}