コード例 #1
0
    private bool IsPlayerInProximity()
    {
        var inRange = Ranges.InRange(player.GetComponent <Transform>(), transform, config.activationRange);

        return(inRange);
    }