using System.Collections;
using System.Collections.Generic;
using UnityEngine;/**UI特效遮罩
1.需要将ScrollRect 的遮罩Mask 换为 2D Mask2.将特效的Render里面的 Masking 设置为*/
public class UIParticleMaskControll : MonoBehaviour
{// Start is called before …
getc(): 从输入中只能读单个字符 getchar():从标准输入流中输入都单个字符。 两者基本等同,唯一不一样的是getc()是任何输入流,而getchar()是标准输入流。
gets:可以读入含有空格的字符串
// Example for getc() in C
#include <stdio.h…