Advertisement
Munchy2007

screenfader2

May 25th, 2016
4,161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.17 KB | None | 0 0
  1. group = canvas.gameObject.AddComponent<CanvasGroup>();
  2. group.alpha = 0f;
  3. group.interactable = false;
  4. group.blocksRaycasts = false;
  5. group.gameObject.SetActive(false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement