(client) feat:实体的手动控制
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user