private void Initialize(AvatarHUDController controller) { gameObject.name = VIEW_OBJECT_NAME; toggleExpandButton.onClick.AddListener(controller.ToggleExpanded); editAvatarButton.onClick.AddListener(controller.EditAvatar); editAvatarButton.onClick.AddListener(controller.ToggleExpanded); signOutButton.onClick.AddListener(controller.SignOut); signOutButton.onClick.AddListener(controller.ToggleExpanded); settingsButton.onClick.AddListener(controller.ShowSettings); settingsButton.onClick.AddListener(controller.ToggleExpanded); controlsButton.onClick.AddListener(controller.ShowControls); controlsButton.onClick.AddListener(controller.ToggleExpanded); faqButton.onClick.AddListener(() => { WebInterface.OpenURL("https://docs.decentraland.org/decentraland/faq/"); }); }