// Use this for initialization void Start() { hs = Camera.main.GetComponent<HarlemShake> (); thePlayer = GameObject.FindGameObjectWithTag ("Player"); ah = thePlayer.GetComponent<AnimationHandler> (); playerHealthSystem = thePlayer.GetComponent<HealthSystem> (); }
// Use this for initialization void Start() { hs = Camera.main.GetComponent<HarlemShake> (); thePlayer = GameObject.FindGameObjectWithTag ("Player"); ah = thePlayer.GetComponent<AnimationHandler> (); aet = thePlayer.GetComponent<AudioEngineThing> (); }