using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
///
/// 新手引导UI脚本
///
public class GuidePanel : MonoBehaviour
{
GameObject tipsUI;//显示文字的UI
CharForeach charForeach;//动态显示文字
GuideCtrl m_Ctrl;//控制类
///
/// 遮罩对象
///
private RectGuidance maskObj;
private RectTransform image_Rim_Rect;//边框
private RectTransform image_Tip_Rect;//可以移动的提示框
private Text text_Tip;//可以移动的提示框文字
private Image image_SkillRim;//技能释放区域
Vector2 rimOffset = new Vector2(30, 30);//边框要比按钮大一些
// Start is called before the first frame update
void Awake()
{
tipsUI = transform.Find("Tips").gameObject;
charForeach = tipsUI.GetComponent();
m_Ctrl = transform.GetComponent();
transform.Find("Button").GetComponent