/* xDeactivate * called from thsi script or from citizens when unassigned * boolean flag used because other scripts check for activity * periodically*/ public void Deactivate() { isActive = false; if (citizen1 != null) { citizen1Script.Deactivate(); } if (citizen2 != null) { citizen2Script.Deactivate(); } }