Files
old-profesoratom/Assets/Scripts/ObjectController.cs

21 lines
543 B
C#
Raw Normal View History

2017-05-17 15:40:49 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2017-05-18 22:10:17 +03:00
using UnityEngine.UI;
2017-05-17 15:40:49 +02:00
public class ObjectController : MonoBehaviour {
2017-05-18 22:10:17 +03:00
public RawImage imageCorrect;
public RawImage imageIncorrect;
2017-05-20 11:23:09 +03:00
public Text modelCaption;
2017-05-17 15:40:49 +02:00
// Use this for initialization
void Start () {
2017-05-18 22:10:17 +03:00
imageCorrect.enabled = false;
imageIncorrect.enabled = false;
2017-05-17 15:40:49 +02:00
}
// Update is called once per frame
void Update () {
2017-05-19 22:38:58 +03:00
//transform.GetComponent<Light>().intensity = 1.0f + Mathf.Abs(Mathf.Sin(2*Time.time));
}
2017-05-17 15:40:49 +02:00
}