all repos — RPG @ 62a0546261098a7868f5986f21adf997f247852f

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}