Scriptum/Assets/Scripts/REFACTORING/Application/Dialogue/Panel/Model/PanelButtonStepModel.cs
2022-12-04 20:48:40 +01:00

28 lines
578 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[Serializable]
public class PanelButtonStepModel
{
[SerializeField]
public string ButtonName; // anme of button added in panel
[SerializeField]
public PanelButtonEnum Type;
[SerializeField]
public UnityEvent ButtonActions;
public PanelButtonStepModel() { }
public PanelButtonStepModel(string _buttonName, UnityEvent _buttonActions)
{
ButtonName = _buttonName;
ButtonActions = _buttonActions;
}
}