Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Update()
- {
- if(!keep_track_attack)
- {
- EnemyDamage.enabledScript=true;
- EnemyPoliceGuy.enabledScript=true;
- }
- }
- ---
- EnemyDamage/EnemyPoliceGuy.js
- public static var enabledScript : boolean = false;
- function Update()
- {
- if(enabledScript)
- {
- //Your code
- }
- }
Add Comment
Please, Sign In to add comment