void Update() { if (Input.GetKeyDown(KeyCode.Q)) { CreateAlert(new AlertData("TEST ALERT", IconRegistry.GetIcon(IconRegistry.WarningIcons, 0)), AlertColorArray.Green); } }
public static void StarfishEscapeWarningAlert(int seconds) { GameController.Current.TC.CreateAlert(new AlertData("Starfish will escape from jail in " + seconds + " seconds!", IconRegistry.GetIcon(IconRegistry.WarningIcons, 0)), AlertColorArray.Yellow); }
public static void EnemyEscapedAlert(string enemyName, int quantity = 1) { GameController.Current.TC.CreateAlert(new AlertData(quantity + " " + enemyName + "(s) have escaped from prison!", IconRegistry.GetIcon(IconRegistry.AlertIcons, 0)), AlertColorArray.Red); }
public static void StarfishBreakoutAlert() { GameController.Current.TC.CreateAlert(new AlertData("Starfish is going to break an enemy out of prison!", IconRegistry.GetIcon(IconRegistry.WarningIcons, 0)), AlertColorArray.Yellow); }