Example #1
0
    private void OnTriggerEnter(Collider other)
    {
        if (other.GetComponent <FirstPersonController>())
        {
            Debug.Log("player Detected");
            var canFire = los.TargetInSight();

            //navMeshAgent.SetDestination(other.transform.position);
        }
    }