mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-26 03:25:22 +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);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|