all repos — RPG @ dd5f6156ac54813c7cb4bff643887514808b3930

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}