2025-07-14 11:42:02 +08:00
|
|
|
using System;
|
|
|
|
using System.Linq;
|
2025-07-21 13:58:58 +08:00
|
|
|
using AI;
|
|
|
|
using Base;
|
2025-07-14 11:42:02 +08:00
|
|
|
using Data;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace Entity
|
|
|
|
{
|
2025-07-21 13:58:58 +08:00
|
|
|
public class Character : Entity
|
2025-07-14 11:42:02 +08:00
|
|
|
{
|
2025-07-21 13:58:58 +08:00
|
|
|
public CharacterDef characterDef;
|
|
|
|
|
2025-07-14 11:42:02 +08:00
|
|
|
private void Start()
|
|
|
|
{
|
2025-07-21 13:58:58 +08:00
|
|
|
aiTree = new RandomWander();
|
2025-07-22 14:40:24 +08:00
|
|
|
attributes = new AttributesDef();
|
2025-07-14 11:42:02 +08:00
|
|
|
}
|
|
|
|
|
2025-07-21 13:58:58 +08:00
|
|
|
public void Init()
|
2025-07-14 11:42:02 +08:00
|
|
|
{
|
2025-07-21 13:58:58 +08:00
|
|
|
if (characterDef == null)
|
2025-07-14 11:42:02 +08:00
|
|
|
return;
|
|
|
|
}
|
2025-07-21 13:58:58 +08:00
|
|
|
|
2025-07-14 11:42:02 +08:00
|
|
|
}
|
|
|
|
}
|