/// <summary>
 /// Awake this instance.
 /// </summary>
 void Awake()
 {
     // Setting up references.
     rigidBody2DUnidirectional = GetComponent<RigidBody2DUnidirectional>();
     dagonAnimationSetter = GetComponent<DagonAnimationSetter>();
     jump2d = GetComponent<Jump2D>();
     bodyAnimator = GetComponent<Animator>();
     NotificationCenter.DefaultCenter().AddObserver(this, "ReceiveDamage");
 }
 /// <summary>
 /// Awake this instance.
 /// </summary>
 void Awake()
 {
     // Setting up references.
     rigidBody2DUnidirectional = GetComponent <RigidBody2DUnidirectional>();
     dagonAnimationSetter      = GetComponent <DagonAnimationSetter>();
     jump2d       = GetComponent <Jump2D>();
     bodyAnimator = GetComponent <Animator>();
     NotificationCenter.DefaultCenter().AddObserver(this, "ReceiveDamage");
 }