public void OnTryingToDetectTarget(SightTargetInfo info)
 {
     FireEvent("OnTryingToDetectTarget", info.target.gameObject);
 }
 public void OnStopGettingDetected(SightTargetInfo info)
 {
     FireEvent("OnStopGettingDetected", info.sight.observer.gameObject);
 }
 public void OnTargetDestroyed(SightTargetInfo info)
 {
     FireEvent("OnTargetDestroyed");
 }
 public void OnWentOutOffObserverRange(SightTargetInfo info)
 {
     FireEvent("OnWentOutOffObserverRange", info.sight.observer.gameObject);
 }
 public void OnObserverTryingToDetect(SightTargetInfo info)
 {
     FireEvent("OnObserverTryingToDetect", info.sight.observer.gameObject);
 }
Exemple #6
0
 public void OnStopGettingDetected(SightTargetInfo info)
 {
     //            DevdogLogger.Log("<color=blue>Stopped getting detected by</color> " + bySight.name + "\nVisisble factor: " + (info.visibleForSeconds / info.target.config.detectionTime), gameObject);
 }
 public void OnUnDetectedByObserver(SightTargetInfo info)
 {
     FireEvent("OnUnDetectedByObserver", info.sight.observer.gameObject);
 }
 public void OnTargetDestroyed(SightTargetInfo info)
 {
     targetsInRange.RemoveAll(o => o == null);
 }
 public void OnTryingToDetectTarget(SightTargetInfo info)
 {
 }
        public void OnTargetCameIntoRange(SightTargetInfo info)
        {
            targetsInRange.Add(info);
//            Debug.Log("Target came into range of " + name, target.gameObject);
        }
        public void OnTargetWentOutOfRange(SightTargetInfo info)
        {
            targetsInRange.Remove(info);
//            Debug.Log("Target went out of range of " + name, target.gameObject);
        }
Exemple #12
0
 public void OnWentOutOffObserverRange(SightTargetInfo sightInfo)
 {
 }
Exemple #13
0
 public void OnCameIntoObserverRange(SightTargetInfo sightInfo)
 {
 }
Exemple #14
0
 public void OnUnDetectedByObserver(SightTargetInfo info)
 {
 }
 public void OnStopDetectingTarget(SightTargetInfo info)
 {
     FireEvent("OnStopDetectingTarget", info.target.gameObject);
 }
 public void OnStopDetectingTarget(SightTargetInfo info)
 {
 }
 public void OnUnDetectedTarget(SightTargetInfo info)
 {
     FireEvent("OnUnDetectedTarget", info.target.gameObject);
 }
Exemple #18
0
 public void OnObserverTryingToDetect(SightTargetInfo sightInfo)
 {
 }