Question by 
               MTDues · May 27, 2017 at 10:04 AM · 
                scripting problemscripting beginnerscriptingbasicsscript error  
              
 
              this script is missed up help?
this script is supposed to make my charcter do certain animation on trigger enter, taken from here https://gamedev.stackexchange.com/questions/111389/triggering-animation-in-character-ontriggerenter i dont know how to fix its erroprs so pls help? low coding skills
 using UnityEngine;
 using System.Collections;
 
 public class boxponty : MonoBehaviour {
 
   public bool ShivaEnter;
   private GameObject player;
   private Animator anim;
   private AudioClip pontysound;
 
   // Use this for initialization
   void Start () {
   }
 
   // Update is called once per frame
   void Update () {
     anim = GetComponent<Animator>();
   }
 
   void OnTriggerEnter (Collider other){
     anim.SetBool ("ShivaEnter", true);
     GetComponent<AudioSource>().Play();
   }
 
   void OnTriggerExit (Collider other){
     anim.SetBool ("ShivaEnter", false);
   }
 }
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Getting weird error message!?!?!? 1 Answer
Accessing script from another object 1 Answer
Timer wont work 0 Answers
Make enemy patrol without Nav Points? 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                