28 lines
492 B
C#
28 lines
492 B
C#
using System;
|
|
using System.Linq;
|
|
using AI;
|
|
using Base;
|
|
using Data;
|
|
using UnityEngine;
|
|
|
|
namespace Entity
|
|
{
|
|
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;
|
|
}
|
|
|
|
}
|
|
} |