- Necromancer class playable - Savage minion ability & npc - Mage minion ability & npc - rogue minion ability & npc - warrior minion ability & npc - golem minion ability & npc - minion abilities - Class resource (used to automatically summon minions based on the amount of souls drained, in case of necromancer) - class resource spender (auto cast from priority list) - class resource regen instant effect option
23 lines
441 B
C#
23 lines
441 B
C#
using Photon.Pun;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class MinionOwnerNameController : MonoBehaviour
|
|
{
|
|
[SerializeField] private TMP_Text minionNameText;
|
|
|
|
PhotonView owner;
|
|
|
|
private void Awake()
|
|
{
|
|
owner = GetComponentInParent<PhotonView>();
|
|
}
|
|
|
|
private void Start()
|
|
{
|
|
minionNameText.text = owner.Owner.NickName + "'s Minion";
|
|
}
|
|
}
|