28 lines
578 B
C#
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;
|
||
|
}
|
||
|
|
||
|
}
|