Skip to content
Snippets Groups Projects
Farbegruen.cs 383 B
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;
        
    }
}