mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 05:35:08 +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);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|