(client) feat:实体的手动控制

This commit is contained in:
m0_75251201
2025-07-21 13:54:08 +08:00
parent a48ccca5f4
commit 6b7ddbbd40
14 changed files with 321 additions and 35 deletions

View File

@ -1,25 +1,28 @@
using System;
using System.Linq;
using AI;
using Base;
using Data;
using UnityEngine;
namespace Entity
{
public class Character : Entity,ITick
public class Character : Entity
{
public CharacterDef characterDef;
public GameObject body;
private void Start()
{
aiTree = new RandomWander();
runtimeAttributes = new AttributesDef();
}
public void Init()
{
if (characterDef == null)
return;
}
public new void Tick()
{
base.Tick();
}
}
}