30 lines
732 B
C#
30 lines
732 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
// ReSharper disable once CheckNamespace
|
||
|
namespace BlueWaterProject
|
||
|
{
|
||
|
public interface IFieldOfView : IAiStat
|
||
|
{
|
||
|
// Properties
|
||
|
bool IsDrawGizmosInFieldOfView { get; set; }
|
||
|
|
||
|
LayerMask TargetLayer { get; set; }
|
||
|
|
||
|
float ViewRadius { get; set; }
|
||
|
|
||
|
Collider[] ColliderWithinRange { get; set; }
|
||
|
|
||
|
List<TargetInfo> TargetInfoList { get; set; }
|
||
|
|
||
|
IAiStat IaiStat { get; set; }
|
||
|
|
||
|
TargetInfo TargetInfo { get; set; }
|
||
|
|
||
|
// Functions
|
||
|
void DrawGizmosInFieldOfView();
|
||
|
IEnumerator FindTarget();
|
||
|
void UpdateLookAtTarget();
|
||
|
}
|
||
|
}
|