FM/Assets/TouchScript/Examples/_misc/Scripts/ShowMe.cs

18 lines
351 B
C#
Raw Normal View History

/*
* @author Valentin Simonov / http://va.lent.in/
*/
using UnityEngine;
2025-06-04 22:49:37 +08:00
using System.Collections;
/// <exclude />
public class ShowMe : MonoBehaviour
2025-06-04 22:49:37 +08:00
{
IEnumerator Start()
{
var canvas = GetComponent<Canvas>();
canvas.enabled = false;
yield return new WaitForSeconds(.5f);
canvas.enabled = true;
}
}