2025-07-14 11:42:02 +08:00
|
|
|
using System;
|
|
|
|
using System.Linq;
|
2025-07-20 15:21:21 +08:00
|
|
|
using Base;
|
2025-07-14 11:42:02 +08:00
|
|
|
using Data;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace Entity
|
|
|
|
{
|
2025-07-20 15:21:21 +08:00
|
|
|
public class Character : Entity,ITick
|
2025-07-14 11:42:02 +08:00
|
|
|
{
|
2025-07-20 15:21:21 +08:00
|
|
|
public CharacterDef characterDef;
|
|
|
|
public GameObject body;
|
|
|
|
public void Init()
|
2025-07-14 11:42:02 +08:00
|
|
|
{
|
2025-07-20 15:21:21 +08:00
|
|
|
if (characterDef == null)
|
2025-07-14 11:42:02 +08:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2025-07-20 15:21:21 +08:00
|
|
|
public new void Tick()
|
2025-07-14 11:42:02 +08:00
|
|
|
{
|
2025-07-20 15:21:21 +08:00
|
|
|
base.Tick();
|
2025-07-14 11:42:02 +08:00
|
|
|
}
|
2025-07-20 15:21:21 +08:00
|
|
|
|
2025-07-14 11:42:02 +08:00
|
|
|
}
|
|
|
|
}
|