// Use this for initialization
 void Start()
 {
     animator = GetComponent <Animator> ();
     player   = GetComponent <MadsPlayerController> ();
     colInfo  = GetComponent <RaycastCollisionChecks> ();
     rb       = GetComponent <Rigidbody2D> ();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     player = GetComponent <MadsPlayerController> ();
 }