Newer
Older
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Farbegruen : MonoBehaviour
{
public GameObject theButton;
private ColorBlock theColor;
void Awake()
{
}
public void ButtonTransitionColors()
{
theButton.gameObject.GetComponent<Renderer>().material.color = Color.green;
}
}