HostileIsBelow()

public bool HostileIsBelow(Transform hostilePos)
    {
        if (hostilePos.position.y < vcTrans.position.y)
        {
            return true;
        }
        else
        {
            return false;
        }
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *