Beispiel #1
0
 private void Awake()
 {
     fov          = GetComponent <FieldOfView>();
     AIindicators = GameObject.Find("Monster Indicators").GetComponent <CanvasGroup>();
     agent        = GameObject.Find("Monster/view visualization").GetComponent <ViewIndicator>();
 }
Beispiel #2
0
 private void Awake()
 {
     fov          = GetComponents <FieldOfView>();
     AIindicators = GameObject.Find("Monster Indicators").GetComponent <CanvasGroup>();
     agent        = GameObject.Find("Monster").GetComponentInChildren <ViewIndicator>();
 }