// Use this for initialization
	void Start () {
        attComp = (AttributeComponent)gameObject.GetComponent(typeof(AttributeComponent));
        movement = (CharacterMovement)gameObject.GetComponent(typeof(CharacterMovement));
        meleeSys = (MeleeSystem)gameObject.GetComponent(typeof(MeleeSystem));
        rangedSys = (RangedSystem)GetComponent(typeof(RangedSystem));
        abilitySys = (AbilitySystem)GetComponent(typeof(AbilitySystem));
	}
 // Use this for initialization
 void Start()
 {
     attComp    = (AttributeComponent)gameObject.GetComponent(typeof(AttributeComponent));
     movement   = (CharacterMovement)gameObject.GetComponent(typeof(CharacterMovement));
     meleeSys   = (MeleeSystem)gameObject.GetComponent(typeof(MeleeSystem));
     rangedSys  = (RangedSystem)GetComponent(typeof(RangedSystem));
     abilitySys = (AbilitySystem)GetComponent(typeof(AbilitySystem));
 }
 // Use this for initialization
 void Awake()
 {
     movement     = (CharacterMovement)gameObject.GetComponent(typeof(CharacterMovement));
     walkingRight = false;
     rigplayer    = (Rigidbody2D)GameObject.FindWithTag("Player").GetComponent(typeof(Rigidbody2D));
     rigenemy     = (Rigidbody2D)GetComponent(typeof(Rigidbody2D));
     vision       = (EnemyVision)GetComponent(typeof(EnemyVision));
     rangeSys     = (RangedSystem)GetComponent(typeof(RangedSystem));
     anim         = (Animator)GetComponent(typeof(Animator));
 }
 // Use this for initialization
 void Awake()
 {
     movement = (CharacterMovement)gameObject.GetComponent(typeof(CharacterMovement));
     walkingRight = false;
     rigplayer = (Rigidbody2D)GameObject.FindWithTag("Player").GetComponent(typeof(Rigidbody2D));
     rigenemy = (Rigidbody2D)GetComponent(typeof(Rigidbody2D));
     vision = (EnemyVision)GetComponent(typeof(EnemyVision));
     rangeSys = (RangedSystem)GetComponent(typeof(RangedSystem));
     anim = (Animator)GetComponent(typeof(Animator));
 }