mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2025-02-20 04:14:23 +01:00
32 lines
552 B
C#
32 lines
552 B
C#
|
using UnityEngine;
|
||
|
using UnityEngine.UI;
|
||
|
|
||
|
namespace Fie.UI
|
||
|
{
|
||
|
public class FieSkillTreeDetailCursorUI : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField]
|
||
|
private Image _backGround;
|
||
|
|
||
|
public RectTransform rectTransform;
|
||
|
|
||
|
private void Awake()
|
||
|
{
|
||
|
rectTransform.localScale = Vector3.zero;
|
||
|
_backGround.color = Color.clear;
|
||
|
}
|
||
|
|
||
|
public void Hide()
|
||
|
{
|
||
|
rectTransform.localScale = Vector3.zero;
|
||
|
_backGround.color = Color.clear;
|
||
|
}
|
||
|
|
||
|
public void Show()
|
||
|
{
|
||
|
rectTransform.localScale = Vector3.one;
|
||
|
_backGround.color = Color.white * 0.75f;
|
||
|
}
|
||
|
}
|
||
|
}
|