Scriptum/Assets/Scripts/REFACTORING/Application/Dialogue/Panel/Model/PanelButtonStepModel.cs

28 lines
578 B
C#
Raw Permalink Normal View History

2022-10-16 19:40:44 +02:00
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;
}
}