// Use this for initialization
 void Start()
 {
     LineOfSight.Register(gameObject, detect_value);
 }