Skip to content

Instantly share code, notes, and snippets.

View srcnalt's full-sized avatar
🗿

Sercan (Sarge) Altundas srcnalt

🗿
View GitHub Profile
using UnityEngine;
using UnityEngine.UI;
public class TextColor : MonoBehaviour {
public Color from = new Color(255, 255, 0);
public Color to = new Color(0, 255, 0);
public float switchDuration = 1;
private Color change;
private Text myText;