1、创建一个信息提示框添加InfoTipsFrameScale脚本(然后将其制作为预制体)
2、编写该信息提示框的控制脚本
/***
* Title:"智慧工厂" 项目
* 主题:全局层:提示框的动画效果
* Description:
* 功能:实现提示框的缩放功能
* Date:2018
* Version:0.1版本
* Author:Coffee
* Modify Recoder:
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Global;
using kernal;
using UnityEngine.UI;
namespace View
{
public class InfoTipsFrameScale : Global_baseScalePopUp
{
private ScaleType _ScaleType = ScaleType