Files
old-profesoratom/Assets/Scripts/ObjectController.cs
2017-05-19 22:38:58 +03:00

20 lines
513 B
C#

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