unity script 썸네일형 리스트형 [unity3d] swipe using UnityEngine; using System.Collections; public class Swipe : MonoBehaviour { // const public const string RIGHT = "Right"; public const string DOWN = "Down"; public const string LEFT = "Left"; public const string UP = "Up"; // delegate public delegate void SwapeDelegate (string way); public SwapeDelegate swape { set { swapeDelegate = value; } } private SwapeDelegate swapeDelegate; // variab.. 더보기 [unity3d] fadein, fadeout using UnityEngine; using System.Collections; public enum FadeStatus { FADEIN, FADE, FADEOUT, FADEOVER } public class FadeInOutComponent : MonoBehaviour { // delegate public delegate void FinishDelegate (); private FinishDelegate fadeIn; private FinishDelegate fade; private FinishDelegate fadeOut; public FinishDelegate FadeIn { set { fadeIn = value; } } public FinishDelegate Fade { set { fade = v.. 더보기 이전 1 다음