Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SightEvent"/> class.
 /// </summary>
 /// <param name='tester'>Tester.</param>
 /// <param name='target'>Target.</param>
 public SightEvent(Awareness tester, Transform target)
 {
     this.Tester = tester;
     this.Target = target;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HearingEvent"/> class.
 /// </summary>
 /// <param name='tester'>Tester.</param>
 /// <param name='target'>Target.</param>
 /// <param name='falloffValue'>Falloff value.</param>
 public HearingEvent(Awareness tester, Transform target, float falloffValue)
 {
     this.Tester       = tester;
     this.Target       = target;
     this.FalloffValue = falloffValue;
 }