hi there!!.. im tring to, when ever the player jumps all the gameobjects with “skatergrind1” tag the collinder of would have enabled “is trigger” option! but the problem is only a single gameobject with “skatergrind1” changes the option , the others not ! why is this happening? any help!
function inaircollsends(){
GameObject.FindWithTag("skatergrind1").collider2D.isTrigger=true;
}
function inaircolls(){
GameObject.FindWithTag("skatergrind1").collider2D.isTrigger=false;
}
function Update () {
if(groundcol==false) {
inaircolls();
} else {
inaircollsends();
}