CapersProject/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Utility/Attributes/QuestPopupAttribute.cs

22 lines
519 B
C#

// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
namespace PixelCrushers.DialogueSystem
{
/// <summary>
/// Add [QuestPopup] to a string to show a popup of quest names in the inspector.
/// </summary>
public class QuestPopupAttribute : PropertyAttribute
{
public bool showReferenceDatabase = false;
public QuestPopupAttribute(bool showReferenceDatabase = false)
{
this.showReferenceDatabase = showReferenceDatabase;
}
}
}