Ejemplo n.º 1
0
    // Update is called once per frame
    protected void Update()
    {
        FindMoveDirections(target);

        // Die
        if (health.Current() == 0)
        {
            Die();
        }
    }