This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.cpp | |
// TablesExercise | |
// | |
// Created by Vijay Veluri on 03/07/18. | |
// Copyright © 2018 Vijay Veluri. All rights reserved. | |
// | |
#include <iostream> | |
#include <vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerator Glitch() | |
{ | |
// vertex move | |
glitchDuration = new WaitForSeconds(Random.Range(.05f,.25f)); | |
holoRenderer.material.SetFloat ("_Amount", 1f); | |
holoRenderer.material.SetFloat ("_CutoutThresh", 0f); | |
//holoRenderer.material.SetFloat ("_Amplitude", Random.Range (100, 250)); | |
//holoRenderer.material.SetFloat ("_Speed", Random.Range (1, 10)); | |
yield return glitchDuration; |