Firstborn/Assets/RPG Creation Kit/Scripts/Quest System/Quests/QuestScripts/QuestScriptManager.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

24 lines
714 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RPGCreationKit;
namespace RPGCreationKit
{
public class QuestScriptManager : MonoBehaviour
{
#region singleton
public static QuestScriptManager instance;
private void Awake()
{
if (instance == null)
instance = this;
else
Debug.LogError("Anomaly detected with the singleton pattern of 'QuestScriptManager', are you using multiple 'QuestScriptManager'?");
}
#endregion
// Where the quest scripts needs to be assigned as components (Abstract -> QuestScripts)
public GameObject scriptsHolder;
}
}