Files
2024-11-20 15:21:28 +01:00

26 lines
545 B
C#

// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
using UnityEngine;
using System.Collections.Generic;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.GUI)]
[Tooltip("GUI Box.")]
public class GUIBox : GUIContentAction
{
public override void OnGUI()
{
base.OnGUI();
if (string.IsNullOrEmpty(style.Value))
{
GUI.Box(rect, content);
}
else
{
GUI.Box(rect, content, style.Value);
}
}
}
}