// Use this for initialization
    void Awake()
    {
        isRight  = true;
        anime    = GetComponent <Animator>();
        atkLocal = atkPos;

        atkDir = AtkDirection.atkRight;
        change = getKillZone();
    }
 private void GetAtkDir()
 {
     if (Input.GetAxis("Horizontal") == 1)
     {
         atkDir = AtkDirection.atkRight;
         //Debug.Log("Moving right");
     }
     else if (Input.GetAxis("Horizontal") == -1)
     {
         atkDir = AtkDirection.atkLeft;
         //Debug.Log("Moving left");
     }
     else if (Input.GetAxis("Vertical") == 1)
     {
         atkDir = AtkDirection.atkUp;
         //Debug.Log("Moving up");
     }
     else if (Input.GetAxis("Vertical") == -1)
     {
         atkDir = AtkDirection.atkDown;
         //Debug.Log("Moving down");
     }
 }