// Use this for initialization
	void Start () {
	 
		soundsource = gameObject.GetComponent<AudioSource>();
	//	ghostsound = gameObject.GetComponent<AudioSource>();	
		playAnimation();
		hedvigani = instance.GetComponent<Hedviganimation>();
	}
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     soundsource = gameObject.GetComponent <AudioSource>();
     //	ghostsound = gameObject.GetComponent<AudioSource>();
     playAnimation();
     hedvigani = instance.GetComponent <Hedviganimation>();
 }