private void ReleaseScript() { if (InputManagerScript) { InputManagerScript.Release(); } if (DataManagerScript != null) { DataManagerScript.Release(); } if (StageManagerScript != null) { StageManagerScript.Release(); } if (HudManagerScript != null) { HudManagerScript.Release(); } }