using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ObjectController : MonoBehaviour { public RawImage imageCorrect; public RawImage imageIncorrect; public Text modelCaption; // Use this for initialization void Start () { imageCorrect.enabled = false; imageIncorrect.enabled = false; } // Update is called once per frame void Update () { //transform.GetComponent().intensity = 1.0f + Mathf.Abs(Mathf.Sin(2*Time.time)); } }