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

18 lines
351 B
C#

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