- Home /
Is their a Simple Way to make a Flashing GUI? (Brightness Overclock)
Hi Gang So I looked around and only found "On and Off" when I searched for Flashing GUI. (which is not the effect Im looking for.) Looking for a Simple, way to make my GUI Flash from Normal brightness, then to white then down to Normal Brightness , (I have a Yellow .jpg GUI Image as my Special Meter) (to create a flashing Special Bar when you Reach Max Special).
Max brightness (White) and my Image is still Yellow, is their a way to Overclock clock this so it goes to white?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FlashBightness : MonoBehaviour {
public Image SpecialBar;
public Text SpecialActive;
public GameObject SpecialTextObj;
public PlayerGUI PGui;
void Update () {
if (PGui.SpecialAmmount == 100) {
SpecialTextObj.SetActive (true); // Special Active
// FLash Gui Bar
//Flash GUI TEXT;
} else { // if player dose not have 100% on special
SpecialTextObj.SetActive (false);
// Flashing is disabled and colour returned to Normal. } } }
Your answer
Follow this Question
Related Questions
Find brightness of certain part of screen 0 Answers
How do Text Fields work? (Backend) 1 Answer
Limiting object rotation using GUI.Buttons? 1 Answer
GUI.RepeatButton triggers every time mouse moves over it 1 Answer
Big text field GUI. 1 Answer