OldBlueWater/BlueWater/Assets/02.Scripts/Interface/IFieldOfView.cs

29 lines
648 B
C#
Raw Normal View History

using System.Collections;
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; }
IAiStat IaiStat { get; set; }
Transform TargetTransform { get; set; }
// Functions
void DrawGizmosInFieldOfView();
IEnumerator FindTarget();
void UpdateLookAtTarget();
}
}