mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +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);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|