all repos — RPG @ 6d7a51de9b74ca4bbe58a33eca073580fb7044ef

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Scripts/Overworld/Dialogue/Boss.cs (view raw)

 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4using UnityEngine.SceneManagement;
 5
 6public class Boss : NPC
 7{
 8    [SerializeField] private string bossType = null;
 9
10    public override void actionAfterDialogue(){
11        GameMaster.Instance.EnterBattle(name, bossType);
12    }
13}