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

29 lines
622 B
C#

using UnityEngine;
public abstract class AbstractPanel : IPanel
{
// Panel data
public Vector3 Position { get; set; }
public Vector2 Size { get; set; }
public Vector3 Scale { get; set; }
public AbstractPanel() { }
public AbstractPanel(Vector3 _position, Vector2 _size, Vector3 _scale)
{
Position = _position;
Size = _size;
Scale = _scale;
}
/// <summary>
/// Must be overwritten in childern class
/// </summary>
/// <returns></returns>
public virtual GameObject BuildPanel()
{
throw new System.NotImplementedException();
}
}