private void OnLauch() { WideDataManager.Request(new FleetCreateRequest(_hangarID, _shipIDs, _editor.Save())); Destroy(GetComponentInParent <Window>().gameObject); }
private void OnSaveClic() { int corpID = LocalDataManager.instance.LocalCorporation.ID; Destroy(GetComponentInParent <Window>().gameObject); WideDataManager.Request(new CreateFlightPlanRequest(_plan == null ? -1 : _plan.ID, corpID, nodalEditor.Save(), modelName.text)); }