Example #1
0
    // Update is called once per frame
    protected void Update()
    {
        FindMoveDirections(target);

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