Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity c# image invisible

 using UnityEngine;
 using UnityEngine.UI;
 
 public class ImageIvisible : MonoBehaviour {
     private Image img;
     void Start () {
 		img = GetComponent<Image>();
        img.enabled = false;
     }
 }
 
PREVIOUS NEXT
Tagged: #unity #image #invisible
ADD COMMENT
Topic
Name
7+4 =