public static void ShowSelectedTemplate()
        {
            templateJSON td = _selected_template.template_data;

            if (LoginManager.IsConnected)
            {
                EditorGUILayout.LabelField("Selected Template:");
                Common.DisplayStatus("  Name:", "none", td.activity_name);
                Common.DisplayStatus("  ID:", "none", td.space_template_id);
            }

            if (HasTemplateSelected)
            {
                EditorGUILayout.Space(10);

                EditorGUILayout.LabelField("Template contents:");

                // TODO: Any reason where there are more than one asset bundle scenes?
                Common.DescribeAssetBundles(td.asset_bundle_scenes[0].asset_bundles);
            }

            EditorGUILayout.BeginHorizontal();

            _selected_template.templateSceneName = EditorGUILayout.TextField(_selected_template.templateSceneName);
            if (GUILayout.Button("Use current scene"))
            {
                _selected_template.templateSceneName = EditorSceneManager.GetActiveScene().name;
            }

            EditorGUILayout.EndHorizontal();
        }
        private static bool LoadSingleTemplate(string template_id)
        {
            templateJSON tmpl = LoginManager.LoadSingleAltVRItem <templateJSON>(template_id);

            if (tmpl != null && !string.IsNullOrEmpty(tmpl.activity_name))
            {
                EnterTemplateData(tmpl);
                return(true);
            }
            return(false);
        }
        private static void EnterTemplateData(templateJSON tmpl)
        {
            if (tmpl.asset_bundle_scenes.Count > 0 && tmpl.asset_bundle_scenes[0].user_id != LoginManager.userid)
            {
                return;
            }

            _known_templates.Remove(tmpl.space_template_id);
            _known_templates.Add(tmpl.space_template_id, new templateInfo()
            {
                templateSceneName = GetSuggestedSceneName(tmpl.space_template_id, tmpl.activity_name),
                template_data     = tmpl
            });
        }