mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 20:27:14 +08:00
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/41
28 lines
433 B
C#
28 lines
433 B
C#
using System;
|
|
using AI;
|
|
using Base;
|
|
using Data;
|
|
using Entity;
|
|
using Unity.VisualScripting;
|
|
using UnityEngine;
|
|
|
|
namespace Prefab
|
|
{
|
|
public class EntityPrefab : MonoBehaviour
|
|
{
|
|
public Entity.Entity entity;
|
|
public Outline outline;
|
|
|
|
|
|
public void Init(Data.PawnDef pawnDef)
|
|
{
|
|
entity.Init(pawnDef);
|
|
|
|
outline.Init();
|
|
outline.Hide();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
} |