- Home /
 
 
               Question by 
               vlakdo · Aug 07, 2015 at 11:59 AM · 
                triggernot workingtriggersnot-working  
              
 
              OnTriggerEnter not trigger after ios build
Please if anyone knows how to fix aid, while I'm on the publisher runs the OnTriggerEnter function without problem, but when I Build and run from an iPhone 5 OnTriggerEnter not working.
This is the code I'm using OnTriggerEnter:
private void OnTriggerEnter(Collider other) {
     if(other.tag == "NoWind" && isEnableWind && thisOutsideBasket){
         
         isEnableWind = false;
     }
     if(other.tag == "Basket" && thisOutsideBasket){
         
         thisOutsideBasket = false;
         audioBasket.Play();
     }
 }
 
               Thank You!!
               Comment
              
 
               
              Your answer