all repos — RPG @ 5dd0e2789567908ea2c44449a4112f14377fcaf7

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}