Esempio n. 1
0
	public void Splash (string text, float duration, int amount) {
		SplashCommand cmd = new SplashCommand();
		cmd.text = text;
		cmd.duration = duration;

		for (int i = 0; i < amount; i++) {
			queue.Add(cmd);
		}
	}
Esempio n. 2
0
	public void SplashPrefab(GameObject splash) {
		SplashCommand cmd = new SplashCommand();
		cmd.obj = splash;

		queue.Add(cmd);
	}