OldBlueWater/BlueWater/Assets/02.Scripts/Interface/IFieldOfView.cs
NTG_Lenovo 7fa593f6ee #8 유닛 이동, 공격 테스트 중
- Ai프리팹 이동속도 변경, 애니메이션 및 애니메이션 이벤트 추가 및 변경
- Enemy의 화살이 안맞는 오류 수정
- 유닛 생성시 UnitName이 아무 값도 안들어있으면 자동 이름변경
- 인터페이스(IAiMover, IFieldOfView, IDamageable) 구조 변경
- 유닛 선택 구조 변경(여러 유닛 겹쳐서 선택하던 오류 수정)
2023-08-17 16:57:46 +09:00

29 lines
648 B
C#

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();
}
}