Scrambling Letter - Visual Effect

Hello Y’all!

Right, I am going to attempt to make a visual effects aid in my game. Basically, when the game is loading, on the preload screen is going to be a line of text that is complete random, and each letter changes to another random letter.

So it gives the effect of a ‘scrambled encryption’ being decrypted.

You tend to see these in army games in the pre loader as if its some kind of UAV.

I was thinking about Random.Range … but this only applied to numbers. What about characters?

I’m just trying to gain ideas here really - would appreciate your input

Characters are numbers, they’re just referred to slightly differently to make it easier for puny humans. Everything is a number…the only thing computers do is numbers.

function Start () {
	var string = "";
	for (i = 0; i < 20; i++) {
		string += System.Convert.ToChar(Random.Range(32, 127));
	}
	Debug.Log (string);
}