Пример #1
0
 //----------------------------------------------------------------
 public override void DrawGizmos()
 {
     FSMHelper.DrawCone(Context.Owner.transform, AttackDistance, FieldOfView);
     if (Context.CurrentTarget != null)
     {
         FSMHelper.DrawSphereCast(Context.Owner.transform, Context.CurrentTarget.transform, HitTestThickness);
     }
 }
Пример #2
0
		//----------------------------------------------------------------
		public override void DrawGizmos()
		{
			FSMHelper.DrawCone(Context.Owner.transform, TargetDetectionRange, FieldOfView);
		}