2023-08-01 11:28:14 +03:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class Enemy : TriggerZone
|
|
|
|
{
|
2023-10-02 19:12:35 +03:00
|
|
|
[SerializeField] private TMPro.TextMeshProUGUI _nameField;
|
2023-08-01 11:28:14 +03:00
|
|
|
|
2023-10-02 19:12:35 +03:00
|
|
|
public string Name;
|
2023-08-01 11:28:14 +03:00
|
|
|
|
2023-10-02 19:12:35 +03:00
|
|
|
private void Start()
|
2023-08-01 11:28:14 +03:00
|
|
|
{
|
2023-10-02 19:12:35 +03:00
|
|
|
_nameField.SetText(Name);
|
2023-08-01 11:28:14 +03:00
|
|
|
}
|
|
|
|
}
|