private void RegisterToParent() { if (projectController.IsMainGameModuleSelected(parentName)) { RegisterToMainModule(); } else { RegisterToPlugin(); } }