mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-29 13:03:05 +00:00
17 lines
324 B
C#
17 lines
324 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace HeavenStudio.Editor
|
||
|
{
|
||
|
public class TooltipGiver : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField] private string TooltipText;
|
||
|
|
||
|
void Start()
|
||
|
{
|
||
|
Tooltip.AddTooltip(gameObject, TooltipText);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|