ПОМОГИТЕ! в чем ошибка?
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Button : MonoBehaviour {
public Text text;
void()
{
text.color = new Color(146, 146, 146);
}
void OnMouseUp()
{
text.color = new Color(0, 0, 0);
}
}