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