2022-12-11 23:06:16 +01:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class NPC : MonoBehaviour
|
|
|
|
{
|
|
|
|
|
|
|
|
public string Name;
|
2022-12-19 03:34:45 +01:00
|
|
|
|
|
|
|
public NPCStateEnum State = NPCStateEnum.Pending;
|
|
|
|
|
|
|
|
|
|
|
|
public void ChangeState(NPCStateEnum _newState)
|
|
|
|
{
|
|
|
|
State = _newState;
|
|
|
|
}
|
2022-12-11 23:06:16 +01:00
|
|
|
}
|