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

25 lines
564 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("Gets the Tooltip of the control the mouse is currently over and store it in a String Variable.")]
public class GUITooltip : FsmStateAction
{
[UIHint(UIHint.Variable)]
public FsmString storeTooltip;
public override void Reset()
{
storeTooltip = null;
}
public override void OnGUI()
{
storeTooltip.Value = GUI.tooltip;
}
}
}