Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class Cheats
- {
- public static bool god;
- public static bool noai;
- public static bool unlimammo;
- public static bool alllevels;
- public static bool cheat;
- public static void DestroyAllEnemies()
- {
- Enemy[] enemies = Object.FindObjectOfType(typeof(Enemy));
- foreach (Enemy enemy in enemies) {
- Destroy(enemy.GameObject);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment