Esempio n. 1
0
 void Start()
 {
     smallBroMovement = GetComponentInParent <SmallBroMovement>();
     checkGrounded    = GetComponentInParent <CheckIfGrounded>();
 }
	void Start()
	{
		smallBroMovement = GetComponentInParent<SmallBroMovement>();
		checkGrounded = GetComponentInParent<CheckIfGrounded>();
	}
Esempio n. 3
0
 void Start()
 {
     movement = GetComponentInParent<PlayerMovement>();
     checkGrounded = transform.root.GetComponentInChildren<CheckIfGrounded>();
     animator = transform.root.GetComponentInChildren<Animator>();
     fireAttackSound = GetComponent<AudioSource> ();
 }