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

22 lines
521 B
C#
Raw Normal View History

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